Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Show:
© 2015 Microsoft