For Apache servers, add the line Options -Indexes to your .htaccess file. This disables directory browsing globally.
If you need directory listing for internal use, use .htpasswd to restrict access with a login prompt.
For Apache servers, add the line Options -Indexes to your .htaccess file. This disables directory browsing globally.
If you need directory listing for internal use, use .htpasswd to restrict access with a login prompt.