FileAuthorizationModule FileAuthorizationModule FileAuthorizationModule FileAuthorizationModule Class


Verifies that the user has permission to access the file requested. This class cannot be inherited.

public ref class FileAuthorizationModule sealed : System::Web::IHttpModule
public sealed class FileAuthorizationModule : System.Web.IHttpModule
type FileAuthorizationModule = class
    interface IHttpModule
Public NotInheritable Class FileAuthorizationModule
Implements IHttpModule


This module provides authorization services against file-system access-control lists (ACLs). When the mode attribute of the authentication Element (ASP.NET Settings Schema) configuration element is set to Windows so that the WindowsAuthenticationModule is being used for the application, the FileAuthorizationModule module ensures that the requesting user is allowed read or write access to the resource, depending on the request verb, before executing the request. For more information, see the CheckFileAccessForUser method.


FileAuthorizationModule() FileAuthorizationModule() FileAuthorizationModule() FileAuthorizationModule()

Creates an instance of the FileAuthorizationModule class.


CheckFileAccessForUser(String, IntPtr, String) CheckFileAccessForUser(String, IntPtr, String) CheckFileAccessForUser(String, IntPtr, String) CheckFileAccessForUser(String, IntPtr, String)

Determines whether the user has access to the requested file.

Dispose() Dispose() Dispose() Dispose()

Releases all resources, other than memory, used by the FileAuthorizationModule.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Init(HttpApplication) Init(HttpApplication) Init(HttpApplication) Init(HttpApplication)

Initializes the FileAuthorizationModule object.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also