HOW TO: Change the Trust Level for a .NET Framework Assembly

This article has been archived. It is offered "as is" and will no longer be updated.
This step-by-step article describes how to change the trust level that you assign to a specific assembly.

The level of trust that you assign to an assembly determines what system resources the assembly has access to. By default, trust is assigned to managed assemblies based on the zone where the assembly is located. You can also assign trust to assemblies based on the URL, the publisher, the strong name, and many other factors. By using the Trust An Assembly wizard, you can change the trust level of an individual assembly.

Note This procedure is useful only if you want to increase the trust level that you assign to an assembly. If you set the minimum trust level below the level that is granted to the assembly’s zone, the trust level of the zone is used.

back to the top

Change Minimum Trust Level

To change the minimum trust level that you assign to an individual assembly, follow these steps:
  1. Click Start, point to Settings, and then click Control Panel.
  2. In Control Panel, double-click Administrative Tools, and then double-click Microsoft .NET Framework Configuration.
  3. Right-click Runtime Security Policy, and then click Trust Assembly. The Trust An Assembly wizard appears.
  4. On the What Would You Like To Modify page, leave Make Changes To This Computer selected. Click Next.
  5. On the Which Assembly Do You Want To Trust page, click Browse, and then locate and select the assembly that you want. Click Open, and then click Next.
  6. On the Choose The Minimum Level Of Trust For The Assembly page, move the slider to the trust level that you want. From top to bottom, the positions represent the following trust levels:
    • Full
    • High
    • Low
    • None
    Click Next.
  7. On the Completing The Wizard page, click Finish.
back to the top
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
315736 HOW TO: Secure an ASP.NET Application by Using Windows Security
315588 HOW TO: Secure an ASP.NET Application Using Client-Side Certificates
818014 HOW TO: Secure Applications That Are Built on the .NET Framework

back to the top

Article ID: 815147 - Last Review: 12/08/2015 02:06:06 - Revision: 2.3

Microsoft .NET Framework 1.0

  • kbnosurvey kbarchive kbsecurity kbtrusts kbdll kbhowtomaster KB815147