Microsoft KB Archive/815170

= HOW TO: Evaluate the Permissions That Are Granted to an Assembly =

Article ID: 815170

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.0
 * Microsoft .NET Framework 1.1

-



IN THIS TASK

 * SUMMARY
 * Use the Evaluate An Assembly Wizard
 * REFERENCES



SUMMARY
This step-by-step article describes how to evaluate the permissions that are granted to a .NET Framework assembly. The .NET Framework uses a hierarchical model to assign security policies to managed assemblies. You can define configurations at the Enterprise, Machine, or User level. Additionally, you can assign trust to assemblies based on their zone or on the developer who created the assembly. You can manually override these rules on a per-assembly basis. The combination of all these factors determines the resources that are available to an assembly. This article describes the process of evaluating the permissions granted to an assembly.

back to the top

Use the Evaluate An Assembly Wizard
The .NET Framework Configuration tool includes the Evaluate An Assembly Wizard. To use this wizard, follow these steps:
 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) Double-click to open the Administrative Tools folder and then double-click to start the Microsoft .NET Framework Configuration tool.
 * 3) Right-click Runtime Security Policy, and then click Evaluate Assembly. The Evaluate An Assembly wizard appears.
 * 4) On the What Would You Like To Evaluate page, click Browse, select the assembly, and then click Open. The Evaluate An Assembly wizard reappears.
 * 5) Verify that the View Permissions Granted To An Assembly option is selected, and then click Next.
 * 6) The List Of Permissions Granted page lists the specific privileges that are assigned to the assembly. When Unrestricted appears, that assembly has Full trust. Click Finish to close the wizard and return to the .NET Framework Configuration tool.

back to the top

