This topic has not yet been rated - Rate this topic

HttpForbiddenHandler Class

Provides support to block access to mapped files.


internal class HttpForbiddenHandler: IHttpHandler

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).

.NET Framework 1.0, .NET Framework 1.1, or .NET Framework 2.0

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.