HOW TO: Adjust .NET Framework Security on a Zone-by-Zone Basis (815148)
The information in this article applies to:
- Microsoft .NET Framework 1.0
- Microsoft .NET Framework 1.1
SUMMARYThis article describes how to adjust the .NET Framework
security on a zone-by-zone basis. The level of trust that you assign to an
assembly determines what system resources that assembly has access to. By
default, trust is assigned to managed assemblies based on the zone that the
assembly resides in. For example, assemblies that run from the local computer
receive the Full trust level. Assemblies that run from the
Internet are assigned the None trust level. This article
describes how to adjust the trust levels that are assigned to different zones
and thereby to assemblies that run from those zones. back to the topAdjust Trust Level for a Zone- On the taskbar click start. Point to
Settings and then click Control
Panel.
- Double-click to open the Administrative
Tools folder and then double-click to run the Microsoft .NET
Framework Configuration tool.
- Right-click Runtime Security Policy and
then click Adjust Security.
The Security
Adjustment Wizard appears. - At the What Would You Like To Modify page,
select either Make Changes To This Computer or Make
Changes For The Current User Only, as appropriate.
- Click Next.
- At the Adjust The Security Level For Each
Zone page, select the zone that you want to adjust the trust level
for. Move the slider to the level that you want.
From top to bottom,
the positions represent the Full trust level, the
High trust level, the Low trust level, and
the None trust level. To restore the default trust level for a
zone, click Default Level. - Click Next to move to the
Completing The Wizard page.
- Review the adjusted trust levels and then click
Finish to apply your changes.
back to the
top Restore Default Trust Levels for All Zones - On the taskbar click start. Point to
Settings and then click Control Panel.
- Double-click to open the Administrative
Tools folder and then double-click to run the Microsoft .NET
Framework Configuration tool.
- Right-click Runtime Security Policy and
then select Reset All.
The Reset All Policy
Levels dialog box appears. - Click Yes to restore the settings to their
defaults.
- When you are prompted, click OK to return
to the Microsoft .NET Framework Configuration tool.
back to the
topREFERENCES 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
back to the
top818014 HOW TO: Secure Applications That Are Built on the .NET Framework
Modification Type: | Minor | Last Reviewed: | 7/8/2005 |
---|
Keywords: | kbHOWTOmaster kbDLL kbTrusts kbSecurity KB815148 kbAudDeveloper |
---|
|