How to: Change Permission Sets Associated with an Existing Code Group
You can use the .NET Framework Configuration tool (Mscorcfg.msc) to change the permission sets associated with a code group.
To change permission sets associated with an existing code group using Mscorcfg.msc
Run the .NET Framework Configuration tool (Mscorcfg.msc).
In Control Panel, open Administrative Tools.
Double-click Microsoft .NET Framework <version> Configuration.
Alternatively, you can run the tool from a command prompt:
In the .NET Framework versions 1.0 and 1.1, type the following at the command prompt: %Systemroot%\Microsoft.NET\Framework\versionNumber\Mscorcfg.msc.
In the .NET Framework 2.0, start the SDK Command Prompt and type mscorcfg.msc.
Expand the Runtime Security Policy node.
Expand the node for the policy level that contains the code group you want to modify.
Expand the Code Groups node, and then expand the tree under the All_code node.
Right-click the appropriate code group and select Properties.
Click the Permission Set tab.
Select the permission set you want to associate with the code group from the drop-down list and click OK.
See Also
Reference
.NET Framework Configuration Tool (Mscorcfg.msc)
Other Resources
Configuring Security Policy Using the .NET Framework Configuration Tool (Mscorcfg.msc)
Configuring Code Groups Using the .NET Framework Configuration Tool (Mscorcfg.msc)