473,597 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using caspol.exe to change security policy settings

Hello

I hope you can help my with this...

I have made a program in VB.Net, which is suppose to be in a shared
directory on a server. Other people can then map the drive and run it from
their client. The problem is just that to run the program (which is doing
some file writing) from the clients you have to change security policy
settings i.e. give the assembly (the program) full trust. It is working when
I am changing it with the "Microsoft .NET Framework 1.1 Configuration"-tool
under Administrative Tools in the Control Panel. But I want to use
"caspol.exe " to do this, so that it can be done automatically. I have tried
with:

caspol -machine -addfulltrust "assembly_n ame (signed with a strong name)"

but it is not working :-(. Do you have any ideas or if not, where I perhaps
could find the information?

Thanks in advance.
Peter

Nov 21 '05 #1
0 2494

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1170
by: Glenn M | last post by:
is it bad practice for vendors to supply a machine level security.config file in an msi package with their installations to chnage security settings. Would i be right in thinking that this msi ( generated by the .net config tool) will overwrite any other settings previously defined...and should be controlled centrally. i have heard it is possible control config settngs via group policy. id this through a policy object or is it just...
1
2379
by: web1110 | last post by:
Hi, I set up my wifes machine to run .NET, some of my stuff runs but not all. First example: I have a windows program that displays environment info. It runs fine on my machine. Whan I run it on my wifes' machine over the network it fails on the statement:
11
1980
by: John Boghossian | last post by:
I know this isn´t spot on for this group, but the problem relates to an asp.net project i am working on. I am trying to develop an windows forms control to be used in IE in an intranet solution. The control lists documents attached to an specific item. The control supports drag/drop and automatically uploads and downloads via an web service to an SQL server database. The control works fine when run on my develop machine. But if i try...
4
3515
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
3
1243
by: One Handed Man | last post by:
Trying to get No Touch Deployment working, which is having a .net exe application on a webserver. My Asp.net page links to the .exe and when the user clicks on the hyper link, the exe is downloaded and executed locally. I've got the application downloading , but now I'm having trouble executing it (which should be done automatically). If I have .net framework v1.0 installed on my machine, it works fine. If I have .net framework v1.0 and...
0
2485
by: Chris Fink | last post by:
I have walked through all of the WSE 3 Hands on Labs and got everything working fine. When I create my own certificate and install it in the stores, my client application that is consuming my WSE enabled webservice receives the following error (noted at the very bottom of this post). My objective here is to create and secure a service application (webservice) using an x509 test cert that requests a client certificate; and to create a...
1
2467
by: Joe | last post by:
Hi I am just writting a small utility to fire off some Caspol commands I can run Caspol.exe -lg to see the security settings for DotNet thru command line Is there a way to get what Caspol.exe -lg displays into a textbox on a form - so I can see what is set on the current machine???
8
5628
by: =?Utf-8?B?Q2hlc3Rlcg==?= | last post by:
Hi All, We are doing development using remote login to distanced development machines. As our profile is local, when we want to do build in the remote machine, it takes long time. So in .NET 1.1 we used to switch off the CAS and do the build. It used to be very much faster. Now, we've upgraded our systems to .NET 2.0. When we try to build with CAS off, the build is breaking. I've captured two errors, Error1:
1
2993
by: nyathancha | last post by:
Hi, I am using WSE to implement security using x509 certificates. This works when I use a windows client but throws an exception when I use NUnit. My Code looks as follows : UsernameToken myCurrentToken = new UsernameToken("xxxx", "YYY", PasswordOption.SendPlainText); MyServicesWse adminServices = new MyServicesWse();
0
8272
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8381
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8035
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6688
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5847
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3886
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3927
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1494
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1238
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.