Jump to content

Wasn't Sure Where To Post This - Possible Vulnerability?


Recommended Posts

Providing a directory listing isn't necessarily a bad thing unless there's some files in there you don't want the world to know about.  If you want to prevent the listing then either configure your server to not provide it (Options -Indexes in .htaccess I believe) or put a simple index.html file in each folder.

Edited by kicken

Providing a directory listing isn't necessarily a bad thing unless there's some files in there you don't want the world to know about. If you want to prevent the listing then either configure your server to not provide it (Options -Indexes in .htaccess I believe) or put a simple index.html file in each folder.

 

Just a blank one?

Well, actually, I'd like to do it via the .htaccess file. I know nothing of this so I suppose it's a good time to learn, but looking at it is all gibberish to me.

 

Where would I put the Options -Indexes?

 

Also, do I prefix it with RewriteRule?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.