Using caspol.exe to change security policy settings
From: Peter F (pfoensREMOVE_at_vjk.dk)
Date: 10/15/05
- Previous message: Daniel: "limiting access to files with asp.net"
- Next in thread: Marius Groenendijk: "Re: Using caspol.exe to change security policy settings"
- Reply: Marius Groenendijk: "Re: Using caspol.exe to change security policy settings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 15 Oct 2005 01:52:59 +0200
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
- Previous message: Daniel: "limiting access to files with asp.net"
- Next in thread: Marius Groenendijk: "Re: Using caspol.exe to change security policy settings"
- Reply: Marius Groenendijk: "Re: Using caspol.exe to change security policy settings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|