Is there a way of listing files for a directory if it contains index.html?

Posted by fredley on Pro Webmasters See other posts from Pro Webmasters or by fredley
Published on 2011-02-01T01:13:57Z Indexed on 2011/02/01 7:33 UTC
Read the original article Hit count: 305

Filed under:

On my server (over which I have little control), directories are listed by default, so for mysite.com/images I get:

Index of /images

Parent Directory
BirdsAreHere.png
CanYouSpot-AdBlank.jpg

etc. Is putting an index.html in that directory enough to prevent people listing the files, or is there still a way of getting at that list? Is it the same for my web root directory (mysite.com)?

© Pro Webmasters or respective owner

Related posts about security