Enable FullTrust on a network share


/ Published in: DOS Batch
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. cd c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
  2. CasPol.exe -m -ag 1.2 -url file://\\ShawnFa-Srv/Tools/* FullTrust

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

Report this snippet


Comments


You need to login to view comments.