Posted By

hoffstein on 10/14/08

Tagged

security

Viewed 1 times

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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.