473,248 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,248 software developers and data experts.

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_name (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 2483

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

Similar topics

0
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 (...
1
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...
11
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....
4
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...
3
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...
0
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...
1
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...
8
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...
1
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...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.