471,337 Members | 795 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 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 2392

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 rosydwin | last post: by

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.