Microsoft KB Archive/815147

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

Article ID: 815147

Article Last Modified on 4/30/2003

-

APPLIES TO


 * Microsoft .NET Framework 1.0

-



IN THIS TASK

 * SUMMARY
 * Change Minimum Trust Level
 * REFERENCES



SUMMARY
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:  Click Start, point to Settings, and then click Control Panel. In Control Panel, double-click Administrative Tools, and then double-click Microsoft .NET Framework Configuration. Right-click Runtime Security Policy, and then click Trust Assembly. The Trust An Assembly wizard appears. On the What Would You Like To Modify page, leave Make Changes To This Computer selected. Click Next. 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. 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</li> High</li> Low</li> None</li></ul>

Click Next.</li> On the Completing The Wizard page, click Finish.</li></ol>

back to the top

<div class="references_section">