How to protect image directories ? How to protect image directories ?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How to protect image directories ?

Started by mrinnoncent, November 13, 2006, 10:00:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mrinnoncent

I would like to know how to protect my directories instead of placing index.htm file in all the folders I upload .

Joachim Müller

If you're on apache webserver, create a .htaccess file within coppermine's root folder (or add the following line if there already is one) with this content:Options -Indexes