pizzabreak
Well-known member
- Joined
- Jun 26, 2021
- Messages
- 62
Offline
- Thread Author
- #1
Let's say you have a website called www.website.com
You create a new folder on your website called "Folder"
If you do not have a index.html or index.php file in this "Folder" all users that visit www.website.com/Folder will be able to see all the files and folders inside of that directory.
This is not good if you do not want your files exposed for everyone to see.
The below code shows you how to disable directory listings.

Hope this helps someone
You create a new folder on your website called "Folder"
If you do not have a index.html or index.php file in this "Folder" all users that visit www.website.com/Folder will be able to see all the files and folders inside of that directory.
This is not good if you do not want your files exposed for everyone to see.
The below code shows you how to disable directory listings.

Hope this helps someone

Last edited: