What About ANOTHER Gallery Program?

EricInHouston

Joined: 2003-06-11
Posts: 14
Posted: Thu, 2008-06-26 19:02

This is not an attempt to insult Gallery2, which I love, but I have a question...

I have a small project in which Gallery2 would be overkill. It involves Drupal, so I'll probably post something on the Drupal forums as well.

I'm looking for a gallery (outside of our beloved Gallery2) that also keeps the images outside of the webserver directory path (in my case, /var/www). That's the only requirement. I don't want someone who is not a site member seeing the images. (Gallery2 does an excellent job of preventing that.) I know that this can be defeated with Apache using the .htaccess file:

Quote:
SetEnvIfNoCase Referer "^http://www.example.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.example.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://example.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://example.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(gif|png|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>

But I'd feel much safer with the images completely outside of the webserver paths.

Does anyone know of any other gallery program that has this wonderful feature?

Regards,
Eric