Don’t write that application in Full Trust

If you are writing an ASP.NET web application that is to be used in a hosted environment (like a forms application) set the trust mode on your dev box to Medium. 

Many hosters will not let you run applications in Full Trust mode.  So people end up developing applications that will not work when installed in a hosted environment. 

There are many reason why hosters should NOT allow Full trust.  If they do then I would fear for my own application. provides more information on Medium trust in ASP.NET 2.0

Comments (2)
  1. Pranav Wagh says:


    Its strange to know that people really develop applications requireing full trust !!

    The security issues are really very important, thats why people want their servers not to run any fully trusted app from a third party.

Comments are closed.

Skip to main content