coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: samw5 on July 16, 2007, 02:37:14 PM

Title: Best way to prevent bulk download on Window apache?
Post by: samw5 on July 16, 2007, 02:37:14 PM
Just wondering what is the best way to prevent bulk website downloader type of software to access the albums and download everything?

I'm running 1.4 on a Windows Apache server. I tried to play around with .htaccess but I was wondering if there is a better way to secure the files so that people have access via the Coppermine website only.
Title: Re: Best way to prevent bulk download on Window apache?
Post by: Joachim Müller on July 16, 2007, 03:28:36 PM
This is a tricky subject, as there is little difference between a legitimate human visitor, a (legitimate) search engine spider and an (abusive) offline copier. There's no method built into coppermine. Read the FAQ by one of the offline copier sites: http://www.httrack.com/html/abuse.html#WEBMASTERS

If you ask me, there are two suitable options:
Quick tipp for apache: make sure that you have turned indexes off for folders that don't contain index.php/index.htm/index.html)

Your question is not directly related to Coppermine (as suggested, Coppermine doesn't have a built-in feature to prevent bulk downloading except making registration mandatory), but more a matter of webserver setup, so I suggest googling for this: there are certainly better resources than this forum to figure out details.
Title: Re: Best way to prevent bulk download on Window apache?
Post by: samw5 on July 16, 2007, 04:34:39 PM
cool, thanks for the quick reply.

ya I've already had indexes turned off and seing/listing img in the albums isn't possible, unless you know the picture full name/path.

I will add the robot.txt though I'm more concerned about rogue attempts at downloading all pictures using a program likst HTTrack not so much because of bandwidth but rather that some picture are more or less private.

In any case I'll take a look a the scripts as well.

Thanks!