You can't because you don't know ahead of time what the file share will be.
So you need to wait until you know what the drive is and then provide the
required permissions.
In any case, here is the usage
Used “C:\WINNT\Microsoft.NET\Framework\v2.0.50727\caspol.exe -m -ag 1 -url
"file:////\\ computername \ sharename \*" FullTrust -exclusive on†to give
the full trust on the location for .Net 2.0 application
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on
www.lulu.com/owc $19.99
-------------------------------------------------------
Saul said:
How does one modify the .NET Security policy to grant Full Trust to all
Network Drives? I have tried granting Full Trust using "file://*" for
evidence, but it doesn't seem to work...