How to stop files from being listed
Posted 25 September 2006 - 04:25 PM
Is there a way to stop all the files from being listed if an invalid file name is entered?
For example I have
If I type in : www/mysite.com/scripts/
Then all the files in that directory are displayed to end user.
Is there a way I can prevent all the files from being displayed to the user?
Thanks in advance
Posted 25 September 2006 - 04:27 PM
Posted 25 September 2006 - 04:42 PM
Options -IndexesWhen you go to the scripts folder the user will get the 403 Forbidden error message
Posted 26 September 2006 - 01:36 AM
Thank you very much for your suggestions. It was a great help.
This one is solved!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users