How to: Create Permission SetsĀ
Use the .NET Framework Configuration tool (Mscorcfg.msc) to create a permission set for a particular level and associate it with a new or existing code group.
To create a permission set 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 you want to add a permission set to.
Right-click Permission Sets and choose New.
Give the permission set a name and, optionally, a description. Click Next.
Select a permission from the Available Permissions list and click Add. The Permission Settings dialog box appears, which contains information about the selected permission. Enter the information needed for that permission and click OK.
If you want to add a custom permission, click the Import button and browse to the XML file that contains information about the custom permission.
Repeat step six until all the desired permissions are added to the permission set.
When you are finished adding permissions, click Finish.
See Also
Reference
.NET Framework Configuration Tool (Mscorcfg.msc)
Other Resources
Configuring Security Policy Using the .NET Framework Configuration Tool (Mscorcfg.msc)
Configuring Security Policy
Configuring Permission Sets Using the .NET Framework Configuration Tool (Mscorcfg.msc)