System.Web.HttpContext.SkipAuthorization Property

Gets or sets a value that specifies whether the System.Web.Security.UrlAuthorizationModule object should skip the authorization check for the current request.

Syntax

public bool SkipAuthorization { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The HttpContext.SkipAuthorization property is intended for advanced use by authentication modules that need to redirect to a page that allows anonymous connections. The Forms authentication module and Passport authentication module both set HttpContext.SkipAuthorization when redirecting to a configured logon page. Setting HttpContext.SkipAuthorization requires the ControlPrincipal flag to be set. For information about the ControlPrincipal flag, see System.Security.Permissions.SecurityPermissionFlag.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0