FileAuthorizationModule Class

Definition

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
Inheritance
FileAuthorizationModule
Implements

Remarks

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.

Constructors

FileAuthorizationModule()

Creates an instance of the FileAuthorizationModule class.

Methods

CheckFileAccessForUser(String, IntPtr, String)

Determines whether the user has access to the requested file.

Dispose()

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Init(HttpApplication)

Initializes the FileAuthorizationModule object.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also