|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using Caspol to change Security Policy - Code Groups # different on different PC ???On my pc I use Caspol -ag 1.4 Fulltrust - to change intranet setting On another pc I need to use Caspol -cg 1.2 Fulltrust - to change intranet setting Is this possible??? I want to write a utility to set Intranet to Fulltrust but how can I determine what the intranet is 1.2 or 1.4 ??? My PC looks like this Code Groups: 1. All code: Nothing 1.1. Url - \\someserver : FullTrust 1.2. StrongName - some key - FullTrust 1.3. Zone - MyComputer: FullTrust 1.3.1. StrongName - some key - FullTrust 1.3.2. StrongName - 00000000000000000400000000000000: FullTrust 1.4. Zone - Intranet: FullTrust 1.4.1. All code: Same site Web 1.4.2. All code: Same directory FileIO - 'Read, PathDiscovery' 1.5. Zone - Internet: Internet 1.5.1. All code: Same site Web 1.6. Zone - Trusted: Internet 1.6.1. All code: Same site Web 1.7. Zone - Untrusted: Nothing Thanks You may also refer to code groups by name. Try the following on either
machine: caspol.exe -cg LocalIntranet_Zone FullTrust Show quoteHide quote "Joe" <hchs1***@yahoo.com> wrote in message news:etvCivzEHHA.4024@TK2MSFTNGP04.phx.gbl... > Hi > > On my pc I use Caspol -ag 1.4 Fulltrust - to change intranet setting > > On another pc I need to use Caspol -cg 1.2 Fulltrust - to change intranet > setting > > Is this possible??? > I want to write a utility to set Intranet to Fulltrust but how can I > determine what the intranet is > 1.2 or 1.4 ??? > > My PC looks like this > > Code Groups: > > 1. All code: Nothing > 1.1. Url - \\someserver : FullTrust > 1.2. StrongName - some key - FullTrust > 1.3. Zone - MyComputer: FullTrust > 1.3.1. StrongName - some key - FullTrust > 1.3.2. StrongName - 00000000000000000400000000000000: FullTrust > 1.4. Zone - Intranet: FullTrust > 1.4.1. All code: Same site Web > 1.4.2. All code: Same directory FileIO - 'Read, PathDiscovery' > 1.5. Zone - Internet: Internet > 1.5.1. All code: Same site Web > 1.6. Zone - Trusted: Internet > 1.6.1. All code: Same site Web > 1.7. Zone - Untrusted: Nothing > > Thanks > > >
Encrypt data
Code Access Security for Windows Service The remote server returned an error: (403) Forbidden - even with a valid verisign certificate System.Net.WebException: The remote server returned an error: (404) Not Found. SignedCms.ComputeSignature(CmsSigner) - Keyset does not exist Code signing - recommended cerificate provider? Howto encrypt configuration sections using Enterprise Library ? Assembly Minimum Security Requirements Create X509 certificate in memory *without* makecert Read PEM encoded request certificate in C# |
|||||||||||||||||||||||