What Does Trust Level Mean in ASP.NET Web Hosting?

What Does Trust Level Mean in ASP.NET Web Hosting?

Trust Level plays a vital role in web hosting operation, and different trust levels do affect the right of users to run and administrate websites applications.

The full trust level is the best choice, which can excellently guarantee fully permission to install and run all kinds of applications of Windows based websites. To choose a full level web hosting, we highly recommend the following outstanding providers, which is based on our more than 10 years experience and conservation via real hosting.

What is Trust Level?

Trust Level is permission set in the ASP.NET configuration files, which determines what operations can and cannot be performed by web applications. Generally speaking, the ASP.NET web hosting packages define different trust levels to run applications. That means they administrate the permission setting of ASP.NET application.

The trust level comes with some restrictions for web hosting users, allowing what operations an ASP.NET application can perform and restricting what cannot be operated. By this way, the websites are protected from harming from other websites. To be narrowly, applications cannot be operated at random so that websites can be ensured with server security and minimal interruptions. The drawback is that it might cause inconveniences and limitations.

There are 5 trust levels as Full, High, Medium, Low and Minimal. Web hosting solution with different trust levels offer different permission and right for users to operate applications. To help you get a clear distinction between them, here we offer you a minute explanation of them respectively.

Full Trust Level

Full Trust means the web hosting provider gives an unrestricted permission to customers so that they can do anything on the web hosting account. To be specific, customers are allowed to execute native code, read or write files which are outside of the virtual directory. With full trust level, users are granted with permissions to access any resources that are subject to operating system security.

High Trust Level

trust levelHigh Trust Level refers to high level of code access security. It restricts the applications so that they cannot:

  • Call Unmanaged Code
  • Write to the event log.
  • Get access to Message Queuing services queues.
  • Access ODBC, OleDb, or Oracle data sources.

Medium Trust Level

Based on High Trust Level, Medium trust is restricted on the basis of High Trust Level. On the contrary, it poses great limitations on the web applications. To be exact, Event Log Permission is not available, which means you cannot get access to Windows event log. Besides, OleDb Permission, Reflection Permission and Registry permission are also unavailable.

Low Trust Level

On the basis of Medium Trust Level, Low Trust Level means the applications are not allowed to carry out many operations. For instance, users are not permitted to write to the file system and call the Assert method.

Minimal Trust Level

It is the minimal level of code access security. That means except execute permission, users are not allowed to do anything.

Full Trust or Partial Trust?

Full Trust Level provides a flexible environment and guarantees the right to operate applications you need, but it might arouse a little bit security concerns. On the contrary, Partial Trust levels pose limitations to the operation of applications to some extent. However, as limitation increases, the security also boosts.

Generally speaking, the Full Trust Level is the one satisfies your various demands. If you still have no ideas of what operations required for the future development of websites, then it is unquestionably a brilliant option.
To help you find a reliable full trust hosting solution, we have worked out 3 advisable providers as following.

Full Trust Hosting Providers Recommended

With more than 10 years experience and observation via real hosting, we recommend DiscountASP.NET and WinHost as ideal options to run websites with full trust hosting. The specific reasons are as following.

  • They support url-rewrite and isolated application pool.
  • They offer unlimited disk space and bandwidth.
  • The 3 providers have stunning performance and satisfactory reliability.
  • The 3 companies are all equipped with awesome technical support teams.