База на знаења

How to Disable Directory Browsing Using the htaccess Rule

Почетна > База на знаења > Security > How to Disable Directory Browsing Using the htaccess Rule

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



Дали Ви помогна овој одговор?
0 Корисниците го најдоа ова како корисно 0 Гласови

Исто така прочитајте