This may help you... it has helped me...
To give everything access on Y:\ full permissions
caspol -addgroup 1 -url file://Y:/* FullTrust
To give hello.exe full trust on Y:\ full
caspol -addgroup 1 -url file://Y:/hello.exe FullTrust
Or if hello.exe is signed...
caspol -addgroup 1 -strong -file hello.exe hello 0.0.0.0 FullTrust
(change 0.0.0.0 with your version number...)
--
Stephen
[quoted text, click to view] "John Dean" <john@aol.com> wrote in message
news:uClBRCqZEHA.212@TK2MSFTNGP12.phx.gbl...
> Hi Nicole,
> Do you know the exact command line to accomplish "fully trusting" an
> assembly that is on a network share? Thanks!
>
>
> "Nicole Calinoiu" <nicolec@somewhere.net> wrote in message
> news:uo8qvSnZEHA.2844@TK2MSFTNGP12.phx.gbl...
> > John,
> >
> > Caspol.exe can be used to configure the security policy. See
> >
>
http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfCodeAccessSecurityPolicyUtilityCaspolexe.asp > > for details.
> >
> > HTH,
> > NIcole
> >
> >
> > "John Dean" <john@aol.com> wrote in message
> > news:OswCuMgZEHA.2844@TK2MSFTNGP12.phx.gbl...
> > > Which is the command line tool that can accomplish this:
> > >
> > > 1) Run ".NET Configuration 1.1" from Administrative Tools
> > > 2) Runtime Security Policy > Increase Assembly Trust
> > > 3) Make changes to this Computer
> > > 4) App path: \\SERVER\Path\MyApp.exe
> > > 5) set "Full Trust" for MyApp.exe
> > >
> > >
> > >
> > >
> >
> >
>
>