Provides access to specified file types.
The StaticFileHandler class is an internal type that handles access to specified files. This class returns the content of a file as is, without any processing. In case of file access issues, an exception of type HttpException is generated that displays one of the following errors:
HTTP 401 error "Unauthorized"
HTTP 403 error "Forbidden: Access is denied"
HTTP 404 error "File or directory not found"
For more information, see httpHandlers Element (ASP.NET Settings Schema).