|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Configuring Security Policy Using the Code Access Security Policy Tool (Caspol.exe)
The Code Access Security Policy tool (Caspol.exe) enables users and administrators to modify security policy for the machine policy level, the user policy level, and the enterprise policy level. You can use Caspol.exe to write a batch script that configures security policy. For all other security policy configuration tasks, use the .NET Framework Configuration tool (Mscorcfg.msc).