Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides support to block access to mapped files.
Internal Class HttpForbiddenHandler
Inherits IHttpHandler
internal class HttpForbiddenHandler: IHttpHandler
Remarks
The HttpForbiddenHandler class is an internal type that issues the HTTP 403 error "Forbidden: Access is denied" when an attempt is made to access a resource mapped to this handler. You can use it to prohibit access to project files, code files, and other file types. You can also use the HttpForbiddenHandler class to protect your own content types. For more information, see httpHandlers Element (ASP.NET Settings Schema).
Requirements
.NET Framework 1.0, .NET Framework 1.1, or .NET Framework 2.0
See Also
Reference
httpHandlers Element (ASP.NET Settings Schema)
add Element for httpHandlers (ASP.NET Settings Schema)