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

Article translations Article translations
Article ID: 815170 - View products that this article applies to.
Expand all | Collapse all

On This Page

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.



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.

REFERENCES

For more information, see the .NET Framework SDK documentation at the following MSDN Web site:
.NET Framework Configuration Tool (Mscorcfg.msc)
http://msdn2.microsoft.com/en-us/library/2bc0cxhc(vs.71).aspx
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
818016 HOW TO: Deploy Applications That Are Built on the .NET Framework


Properties

Article ID: 815170 - Last Review: May 17, 2007 - Revision: 2.6
APPLIES TO
  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework 1.1
Keywords: 
kbconfig kbauthentication kbvalidation kbsecurity kbhowtomaster KB815170

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com