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 asp.net 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.
https://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000020.asp provides more information on Medium trust in ASP.NET 2.0
Comments
- Anonymous
March 06, 2006
Following up to my other post http://blogs.msdn.com/mpoulson/archive/2006/03/06/544576.aspx.  When... - Anonymous
March 06, 2006
Hello,
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.