IIS Hidden Static Files Return HTTP 404 or Access Denied Errors

We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:For more information about IIS 7.0, visit the following Microsoft Web site:


Static files that have the hidden attribute set may return an HTTP 404 or an Access Denied error when browsed, while dynamic files can still be browsed.


This behavior is by design.


Configuring access control for all Web files should always be implemented through NTFS permissions.

More Information

Dynamic files such as Active Server Pages (ASP) or Server-Side Includes (SSI) are implemented through script-mapped ISAPI extensions, in this case the Asp.dll and Ssiinc.dll files respectively. These extensions preprocess the executable code in the files being requested and can therefore read hidden files and return the expected HTML output to a client. Direct Web browsing of hidden static files results in a "File not Found" or an "Access Denied" error message.

ID članka: 216803 - posljednja izmjena: 30. srp 2008. - verzija: 1

Povratne informacije