In IIS you would have to right click <default web site> choose properties and home directory. There you have a checkbox called Directory Browsing. With that checked visitors will be able to browse your directory.
Main Topics
Browse All TopicsI am wondering if it is possible to browse through a websites entire structure, similar to an ls(dir) command? I am making a website and want to know if it is possible for someone to see a folder or file that I do not link to, but put in the sites folder. Example, if the site is www.mysite.com, and the folder is www.mysite.com/myfolder, I am wondering if I don't link to this folder, can someone browse my sites structure and see it? I have the same question with files, if I have www.mysite.com/hidden.html
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
In IIS and Apache browsing is a feature that can be turned on or off.
If it is turned off, generally one specifies a default document that will be served up when only the directory is specified in the URL, otherwise a 404 error is generated.
Nothing stops a person from fishing for documents unless you place them in an area that requires .htaccess or OS authentication.
How to Enable Directory Browsing on Virtual Directories
http://support.microsoft.c
Creating a Directory Browsing Page Using ASP
http://support.microsoft.c
WWW and FTP Virtual Directories Are Not Displayed in Directory Listings
http://support.microsoft.c
HOW TO: Configure Web Server Permissions for Web Content in IIS
http://support.microsoft.c
There are website 'cloning' applications that start at the homepage and follow all the links.
These utilities aren't much good these days as as java and asp mask a lot of the site, they worked when sites were mostly a collection of static pages.
i.e http://www.bluesquirrel.co
and one could script a brute force atttack,
but there is no http command that will over-ride the web server setup and enumetate the directories, short of a newly discovered vulnerability.
I know of one program called IntelliTamper that can do this. It does more then just "spider" a site - follow each link on each page to the next page. It can acutally search through a site and find other files that are NOT linked off any existing page. I have tested this, and I just don't understand how it does it!
I used it on a friend's website once to find his resume that he didn't realize was up in his webspace!
http://www.intellitamper.c
You can help lockdown your site from prying eyes with the following:
* Using the "IndexIgnore *" directive in your .htaccess file (if your webserver is Apache or its copycats) - see http://httpd.apache.org/do
* Using a robots.txt file - see http://www.robotstxt.org/
~ewall
Business Accounts
Answer for Membership
by: skabzalotPosted on 2003-12-04 at 00:24:01ID: 9872969
note: www.mysite.com is not actually my site, just an example.