ali_bilal_yousaf
December 30th, 2008, 08:25 AM
Hi Guys,
Can some body please explain me the meaning of Full Trust Mode in ASP.NET?
Kind Regards,
Ali Bilal Yousaf
toraj58
December 30th, 2008, 10:52 AM
By default, ASP.NET 2.0 Web applications and Web services run with full trust and applications can perform privileged operations and access resources subject only to operating system security and Windows access control lists (ACLs).
To lock down an ASP.NET application and to provide an additional level of application isolation in a hosted environment, you can use code access security to restrict the resources the application can access and the privileged operations it can perform. You do this by configuring the <trust> element as shown here.
<trust level="Full|High|Medium|Low|Minimal" />
more information here:
http://msdn.microsoft.com/en-us/library/ms998341.aspx
and here:
http://blogs.msdn.com/mpoulson/archive/2006/03/06/544576.aspx