mscorlib(4.0.0.0) API with additions
System.Web Namespace Reference

Classes

class  AspNetHostingPermission
 Controls access permissions in ASP.NET hosted environments. This class cannot be inherited. More...
 
class  AspNetHostingPermissionAttribute
 Allows security actions for T:System.Web.AspNetHostingPermission to be applied to code using declarative security. This class cannot be inherited. More...
 

Enumerations

enum  AspNetHostingPermissionLevel {
  AspNetHostingPermissionLevel.None = 100, AspNetHostingPermissionLevel.Minimal = 200, AspNetHostingPermissionLevel.Low = 300, AspNetHostingPermissionLevel.Medium = 400,
  AspNetHostingPermissionLevel.High = 500, AspNetHostingPermissionLevel.Unrestricted = 600
}
 Specifies the trust level that is granted to an ASP.NET Web application. More...
 

Enumeration Type Documentation

◆ AspNetHostingPermissionLevel

Specifies the trust level that is granted to an ASP.NET Web application.

Enumerator
None 

Indicates that no permission is granted. All demands for T:System.Web.AspNetHostingPermission will fail.

Minimal 

Indicates that features protected with a demand for the F:System.Web.AspNetHostingPermissionLevel.Minimal level will succeed. This level allows code to execute but not to interact with resources present on the system. This level is granted by configuring at least the F:System.Web.AspNetHostingPermissionLevel.Minimal trust level using the trust section in a configuration file.

Low 

Indicates that features protected with a demand for any level less than or equal to the F:System.Web.AspNetHostingPermissionLevel.Low level will succeed. This level is intended to allow read-only access to limited resources in a constrained environment. This level is granted by specifying the F:System.Web.AspNetHostingPermissionLevel.Low trust level in the trust section in a configuration file.

Medium 

Indicates that features protected with a demand for any level less than or equal to the F:System.Web.AspNetHostingPermissionLevel.Medium level will succeed. This level is granted by configuring at least the F:System.Web.AspNetHostingPermissionLevel.Medium trust level in the trust section in a configuration file.

High 

Indicates that features protected with a demand for any level less than or equal to the High trust level will succeed. This level is intended for highly trusted managed-code applications that need to use most of the managed permissions that support semi-trusted access. It does not grant some of the highest permissions (for example, the ability to call into native code), but it does provide a way to run trusted applications with least privilege or to provide some level of constraints for highly trusted applications. This level is granted by configuring at least the F:System.Web.AspNetHostingPermissionLevel.High trust level in the trust section in a configuration file.

Unrestricted 

Indicates that all demands for permission to use all features of an application will be granted. This is equivalent to granting Full trust level in the trust section in a configuration file.

Definition at line 5 of file AspNetHostingPermissionLevel.cs.