.htaccess to prevent folder viewing

Could you tell me how to prevent the folder from being viewed using the .htaccess file.

+3
source share
2 answers
Options -Indexes
+10
source
order allow deny
deny from all
allow from 192.126.12.199
-2
source

Source: https://habr.com/ru/post/1765800/


All Articles