Home ›
Disallow browsing of a web directory's filesDisallow browsing of a web directory's files
Submitted by Benjamin Melançon on January 15, 2010 - 7:21am
All by itself in a .htaccess file in the directory of interest (and it covers subdirectories) this will do it, for an Apache webserver:
Options -Indexes
Searched words:
htaccess prevent directory browsing
.htaccess protect files directory
hide files in folder for Apache server
Comments
Post new comment