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
- Viewing Security Policy
- 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.
- Adding Assemblies to Security Policy
- 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.
- Overriding the Caspol.exe Self-protection Mechanism
- Describes how to make a policy change that Caspol.exe would otherwise disallow.
- Suppressing Policy Change Warnings
- Describes how to turn the security policy change warning on and off.
- Administering Security Policy for Nondefault Users
- Describes how to administer security policy for a user other than the current user.
- 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.