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
- 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
- On the Which Assembly Do You Want To Trustpage, click Browse, and then locate and select the assembly that you want. Click Open, and then click
- 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:
- On the Completing The Wizard page, click
back to the top
ID d'article : 815147 - Dernière mise à jour : 24 mars 2009 - Révision : 1