Changing the default ASP.NET Trust Level

The default ASP.NET Trust level is set to Medium.

In general, most applications should run fine under Medium Trust. If your application requires Full Trust, you can override the trust level at the application level by adding the following to your web.config file:

<configuration> 
  <system.web> 
    <trust level="Full" /> 
  </system.web> 
</configuration> 

If you run in to problems using this code, please post in our community forum. Technical support cannot assist with specific coding related issues.

Article ID: 657, Created On: 8/17/2009, Modified: 9/12/2013