Changing Permission Sets
You can change the content of a particular permission set by importing a new XML file containing a permission set that replaces the original permission set. The only mutable permission set provided by the .NET Framework SDK is the Everything permission set.
To change a permission set
Type the following command at the command prompt:
caspol –chgpset pset_file pset_name.
The following command changes the
FilePset
permission set in the user policy to the state specified in theNewPset.xml
file.caspol –user –chgpset NewPset.xml FilePset
See Also
Configuring Security Policy Using the Code Access Security Policy Tool (Caspol.exe) | Configuring Permission Sets Using Caspol.exe | Security Policy Model | Code Access Security Policy Tool (Caspol.exe) | Importing a Permission Set Using an XML File