Home All Groups Group Topic Archive Search About

Using Caspol to change Security Policy - Code Groups # different on different PC ???

Author
28 Nov 2006 10:23 PM
Joe
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

Author
29 Nov 2006 12:44 PM
Nicole Calinoiu
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
>
>
>