I know how do protect Directories with Apache .htpasswd thingy, and can easily protect individual files with
php/mysql logging system.
Is there a way to protect *directories* with a mysql/php logging system perhaps integrating with apache.
The main point is to protect image directories. I know that they can be protected with apache via the deny from directive but it's fairly easy to get round this kind of protection, with a bot sending erroneous headers.