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 *

Was this answer helpful? 0 Users Found This Useful (0 Votes)