Share via


How to: Perform Common Security Policy Tasks Using the .NET Framework Configuration Tool (Mscorcfg.msc)

You can use the Mscorcfg.msc (.NET Framework Configuration Tool) to configure security policy to suit your needs. The following table describes some of the tasks you can perform.

Security Policy Tasks

Description

New

Create a new policy file. Use this option to create and deploy new policy level files without affecting policy on the current computer.

Open

Open a policy level. Use this option to open policy files you created using the New option.

Reset All

Reset all policy levels to the default.

Adjust Security

Adjust the security level for each zone.

Evaluate Assembly

View the permissions granted to an assembly or the code groups that grant permissions to an assembly.

Trust Assembly

Assign a level of trust to an assembly.

Create a deployment package

Create and deploy security policy across a network.

To perform these security-based tasks

  1. Run the .NET Framework Configuration tool (Mscorcfg.msc).

    1. In Control Panel, open Administrative Tools.

    2. 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 and Windows SDK Command Prompts and type mscorcfg.msc.

  2. In the left pane, right-click the Runtime Security Policy node.

  3. Choose the task you want to perform from the menu.

See Also

Reference

Mscorcfg.msc (.NET Framework Configuration Tool)

Other Resources

Security Policy Management

Configuring Security Policy

Configuring Security Policy Using the .NET Framework Configuration Tool (Mscorcfg.msc)