Prevent directory browsing

If index file is not there in a directory, visitors can view all the files in that directory.
You can prevent this by adding a single line code (Given Below)in your .htaccess file .

Options All -Indexes

Share

Leave a Reply

Your email address will not be published. Required fields are marked *