Posted By

hoffstein on 10/14/08


Tagged

security dotnet


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

hoffstein
Tyster


Enable FullTrust on a network share


 / Published in: DOS Batch
 

URL: http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx

Since network shares by default only get LocalIntranet permissions, it's relatively common to want to use CasPol to fully trust some shares that you control and know are safe.

To trust everything on the share \ShawnFa-Srv\Tools, use the command below.

  1. cd c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  2. CasPol.exe -m -ag 1.2 -url file://\\ShawnFa-Srv/Tools/* FullTrust

Report this snippet  

You need to login to post a comment.