IvyCat Website Services

P.O. Box 1331

Gig Harbor, WA 98335-3331

USA

Work: 253-318-7336

Prohibit Browsing of Folders on Your Site Using .htaccess

Don’t want people seeing all the files you have in a directory when you don’t have an index page there?

To stop directory listings from showing up, add the following line inside an .htaccess file placed in the directory you wish to protect:

Options -Indexes

Alternatively, you can upload a blank page named index.html to the directory you’d like to protect.

Tagged with:

Share and Enjoy:
  • email
  • RSS
  • Twitter
  • Facebook
  • LinkedIn
  • StumbleUpon
  • Digg
  • del.icio.us

Leave a Reply

Latest Articles

Latest News