For security purposes, you should disable directory browsing on your website so no one can see the files/directories of your website.


You can disable Directory Browsing by adding the below line to your dot htaccess file.

Options -Indexes



Share
Esta resposta foi útil? 0 Utilizadores acharam útil (0 Votos)

Mais Popular

How to Protect the htaccess File

You can prevent unauthorized access to your htaccess file by adding this rule to the file: # .htaccess protection order allow, deny deny from...