Changing the default ASP.NET Trust Level

Programming, error messages and sample code > ASP.NET
Dreamnix.com supports both Medium Turst and Full Trust. 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 want to use Medium Trust, you can add the following code to your web.config file:


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