Server Configuration
Upload Folder Indexing Check
Upload folders (uploads/, media/, files/) are prime targets. Learn how to disable their indexing to prevent public viewing of their contents.
What this test checks
This test checks whether upload folders (like /uploads/, /media/, /files/) are accessible and whether indexing is enabled. When enabled, any visitor can list all files hosted in these folders, including confidential documents, photos, invoices, or malicious files.
Our recommendation
Protect upload folders by disabling indexing (Options -Indexes on Apache, autoindex off on Nginx). Add an empty index.html file in each folder to hide the content. If possible, store files outside the public directory and use a secure download script.
Security tests