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).
In This Section
- How to: View Security Policy Using Caspol.exe
Describes how to use Caspol.exe to view security policy.
- Configuring Code Groups Using Caspol.exe
Describes how to view, add, remove, and change code groups.
- Configuring Permission Sets Using Caspol.exe
Describes how to view, add, remove, and change permission sets.
- How to: Add Assemblies to Security Policy Using Caspol.exe
Describes how to add assemblies that have security objects to security policy.
- Resolving Security Policy Issues Using Caspol.exe
Describes how to fix assemblies that run incorrectly because of incorrect security policy configuration.
- How to: Override the Caspol.exe Self-Protection Mechanism
Describes how to make a policy change that Caspol.exe would otherwise disallow.
- How to: Suppress Policy Change Warnings Using Caspol.exe
Describes how to turn the security policy change warning on and off.
- How to: Administer Security Policy for Nondefault Users Using Caspol.exe
Describes how to administer security policy for a user other than the current user.
Related Sections
- Configuring Security Policy
Describes how to configure security using the .NET Framework Configuration tool (Mscorcfg.msc) and how to import security components into security policy.
- Security Policy Model
Describes the .NET Framework security policy model.
- Code Access Security Policy Tool (Caspol.exe)
Provides detailed reference information for Caspol.exe.