Managing Net Trust Levels with IIS Manager

In this article I will give you a step by step guide on how to set and manage Net Trust levels with IIS Manager

Overview

What is a Net Trust Level? Trust Levels are ASP. Net permissions set in configuration files. These levels determine what operations can be performed by your applications. There are five Trust Levels, and any of them are applied in the web.config file. Instead of editing the file, we will use IIS Manager to change those trust levels.

Getting Started

1. Connect to your site with the Internet Information Services (IIS) Manager:

iis-manager

2. Go to menu “ASP.Net -> .Net Trust Levels“:

iis net trust levels menu

3. In the Trust Level page, you can choose five trust levels which are:

Full (internal)

ASP.Net Applications get unrestricted access to any resource. It has all privileged operations enabled.

High (web_hightrust.config)

It is a high level code of access. It has the following restrictions:

  • Can’t Call unmanaged code.
  • Cannot Call serviced components.
  • Cannot Write to the event log.
  • No Access Message Queuing service queues.
  • No Access ODBC, OleDb, or Oracle data sources.

Medium (web_mediumtrust.config)

It has the same restrictions as the High Level of trust, plus these:

  • Cannot Access files outside the application directory.
  • No Access the registry.
  • Cannot Make network or Web service calls.

Low (web_lowtrust.config)

It is the lowest level of code access security, it includes Medium level restrictions and also the following restrictions:

  • Write to the file system.
  • Call the Assert method.

Minimal (web_minimaltrust.config)

In this trust level, the application has only execute permissions.

iis level trust select arvixe

4. Select the trust level, Apply the changes and that’s it! .Net Trust Level has been changed

This concludes Managing Net Trust Levels with IIS Manager

Looking for quality ASP Web Hosting? Look no further than Arvixe Web Hosting!

Happy Hosting!

Rodolfo Hernandez

Tags: , , , , , , , , , , , , , , , , , , , | Posted under ASP .NET 2, ASP .NET 3.5, DotNet/Windows Hosting, DotNetPanel Administration, WebsitePanel Tutorials | RSS 2.0

Author Spotlight

Rodolfo Hernandez

Rodolfo Hernandez

I like photography and reading books. Currently working for Arvixe as Elgg Community Liaison. Elgg Security Expert Web Security Expert CEO of UDP SW Social Web

Leave a Reply

Your email address will not be published. Required fields are marked *


9 − 2 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>