If a folder does not contain an index.php or index.html, visitors will be able to view the contents of this directory. To restrict access, you can make an .htaccess file and add the following line:

Options All -Indexes

OR:

IndexIgnore *

這篇文章有幫助嗎? 0 Users Found This Useful (0 Votes)