|
.NET Framework |
| Top 4 Resources | |
| Resource | http://www.microsoft.com/security |
| Resource | |
| Resource | |
| Resource | |
| Quick Reference | |
| Security Policy | a.
Open Control Panel -> Administrative Tools -> .Net Framework 2.0
Configuration b. Here, drill down the Tree View on the left hand side to, My Computer -> Runtime Security Policy -> Machine -> Code Groups -> All_Code c. Right click on All_Code and select New. d. In the first screen of the "Create Code Group" dialog box, provide any name in the Name textbox and click on Next. e. In the next screen, select URL from the Dropdown. A textbox asking for the URL will appear below. Enter the path of your application followed by a slash and *. Examples: file:////servername\apppath\*<file:///\\servername\apppath\*> file:////T:\*<file:///T:\*> file:////c:\program files\myapp\*<file:///c:\program%20files\myapp\*> Then click on next. f. In the next screen, select "Use existing permission set" and then FullTrust from the drop down box and click on Next. g. Then click on finish |
| Turn Security Policy Off/On | From
Command prompt
change directory c:\windows\microsoft.net\framework\v2.0.50727 caspol -s off caspol -s on |
| Errors | |