Specifies the trust level that is granted to an ASP.NET Web application.
<SerializableAttribute> _ Public Enumeration AspNetHostingPermissionLevel
Dim instance As AspNetHostingPermissionLevel
[SerializableAttribute] public enum AspNetHostingPermissionLevel
[SerializableAttribute] public enum class AspNetHostingPermissionLevel
public enum AspNetHostingPermissionLevel
See ASP.NET Code Access Security for detailed information about the permissions that are granted to each trust level.
The members of this enumeration define application security levels ranging from full trust (the application is unconstrained by code access security) to minimal trust (the application has permission only to execute). You set the trust level for an ASP.NET resource with the trust configuration element in a Web.config or Machine.config file.
If you want to lock security policy for a specific server or Web site, use the location element in conjunction with the allowOverride=false attribute to ensure that trust policy settings cannot be overridden locally.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98