This documentation is archived and is not being maintained.

HttpContext.SkipAuthorization Property

Updated: May 2010

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

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public bool SkipAuthorization { get; set; }

Property Value

Type: System.Boolean
true if UrlAuthorizationModule should skip the authorization check; otherwise, false. The default is false.

The 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 SkipAuthorization when redirecting to a configured logon page. Setting SkipAuthorization requires the ControlPrincipal flag to be set. For more information about the ControlPrincipal flag, see SecurityPermissionFlag.

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1, 1.0

Date

History

Reason

May 2010

Fixed broken ControlPrincipal link.

Customer feedback.

Show: