Web Wiz - Solar Powered Eco Web Hosting


Changing the ASP.NET Trust Level


By default the ASP.NET Trust Level set for websites is a Custom High Level Trust which should be adequate for most ASP.NET websites.

In some circumstances you may find that a higher ASP.NET Trust level is required. 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.

To place your website in to Full Trust you need to place the code below in to the 'configuration\system.web' section of your website web.config file:-

<trust level="Full" />

If your websites web.config file does not have a 'configuration\system.web' section below is an example that includes these sections of the web.config file:-

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


Back To Hosting Knowledgebase Menu

Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2023 Web Wiz Ltd. All rights reserved.