|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Trying to grant full trust..... (.NET 2.0)directory on some remote computer. Now I'm trying to run this application but I get plenty of SecurityException all over the places. I'm trying to use mscorcfg to grant full trust to the application, but that doesn't work... I created a new category under My computer > Runtime Security policy > Machine > Code Groups > All_code > Mycode I gave it fulltrust and for the membership condition I have tryed: URL: file://\G5-vpc\lloyd\NovaMind\editor or variation by replacing '/' by '\' or variation by using SITE: 'G5-vpc'. but whatever I do, that doesn't work and I keep having security exception.... Any ideas of what could I do? I also saw that a membership condition could be the public key. I haven't tryed that as I'm coding in both C# and ManagedC++ and the new version to sign assemblies in 2.0 (particularly managed C++) was quite unclear to me.... if anyone could shed some light on that? Also I am using mscorcfg.msc to setup my computer, but is there and easier way for an administrator to setup multiple computer (with the appropriate security policy for my application) ? Hi
As regards an easier way to apply CAS, try the CASPOL tool. This is a command line tool which can be scripted. It's easier to run a script than to have users configure using mscorcfg When you've created the scripts, you could use AD group policy to apply the script to the computers at boot time. However, not much good if you rarely reboot your PCs. Hope this helps Chris Seary http://blog.searyblog.com/ Thanks, ggod to know the admin could use caspol to achieve the same result
in an automatic way! I will have to try to use this way myself too. Thanks for the feedback. -- Show quoteRegards, Lloyd Dupont NovaMind development team NovaMind Software Mind Mapping Software <www.nova-mind.com> "oldbear" <oldb***@discussions.microsoft.com> wrote in message news:70CD4206-26A4-49B7-BD00-391D684ABAD3@microsoft.com... > Hi > > As regards an easier way to apply CAS, try the CASPOL tool. This is a > command line tool which can be scripted. It's easier to run a script than > to > have users configure using mscorcfg > > When you've created the scripts, you could use AD group policy to apply > the > script to the computers at boot time. However, not much good if you rarely > reboot your PCs. > > Hope this helps > > Chris Seary > > http://blog.searyblog.com/ |
|||||||||||||||||||||||