467,885 Members | 1,330 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,885 developers. It's quick & easy.

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
  • viewed: 2340
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Glenn M | last post: by
1 post views Thread by web1110 | last post: by
8 posts views Thread by =?Utf-8?B?Q2hlc3Rlcg==?= | last post: by
1 post views Thread by nyathancha | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.