Options -Indexes In the server block:
However, when a directory lacks an index file and has no access restrictions, the server happily shows everything: filenames, sizes, modification dates, and sometimes even file paths. This becomes a problem when sensitive content is stored there by accident or negligence. index of xxx .mp4
If a video is freely available in an open index but not on the official site or a legitimate free platform, assume you are not supposed to have it. Part 5: The Security Threat to Server Owners If you run a website and find this article because your server appears in index of searches, consider this a wake-up call. How to Fix Open Indexes For Apache: Add this to .htaccess or httpd.conf : Options -Indexes In the server block: However, when