Development
Directory browsing in IIS
Freshness Warning
This blog post is over 22 years old. It's possible that the information you read below isn't current and the links no longer work.
30 Oct 2001
Note to the person that got to my site searching for "iis directory browsing turn off script asp" on Google. You can’t turn off directory browsing through ASP. You need to change a setting at the server. If you don’t have access to do that, just put a blank HTML file called default.htm in every directory.
Comments
Bert
September 11, 2004 12:29 AM
You can go to the properties windows of you default web directory, and on the tab "Home Directory", you can turn off Directory Browsing!
Firnas Aliyar
April 1, 2005 3:56 AM
I want to enable directory browsing, but need to avoid link to parent which the directory where the root is. My problem is I have used framset and allowing directory browsing in a particular frame. If the user clicks parent directory continuesly, at a point the framset comes inside the frame. How to prevent it?
Neelesh Gour
January 14, 2008 11:28 PM
To enable IIS "Directory Browsing" go to or open IIS>> Default Web Site >> [Right Click] Properties >>click "Home Directory" >>Find Below CheckBox "Directory Browsing" [Checked it]
This discussion has been closed.