How to: Add Permissions to a Permission Set
Use the .NET Framework Configuration tool (Mscorcfg.msc) to add a permission to a permission set.
Important |
---|
Mscorcfg.msc has been removed from the .NET Framework version 4 and later versions. This documentation applies only to earlier versions of the .NET Framework. For more information about security changes in the .NET Framework 4, see Security Changes in the .NET Framework 4. |
Note |
---|
The .NET Framework includes several built-in permission sets. The only built-in permission set that can be changed is the Everything permission set. |
To add a permission to 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 Visual Studio Command Prompt and type mscorcfg.msc.
Expand the Runtime Security Policy node.
Expand the node for the policy level that contains the permission set you want to add the permission to.
Expand the Permission Sets node.
Right-click the permission set you want to add the permission to and choose Change Permissions.
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.
When you are finished adding permissions, click Finish.
See Also
Reference
Mscorcfg.msc (.NET Framework Configuration Tool)
Other Resources
Configuring Security Policy Using the .NET Framework Configuration Tool (Mscorcfg.msc)
Configuring Permission Sets Using the .NET Framework Configuration Tool (Mscorcfg.msc)