Leeching alert!!

B007

Joined: 2003-01-07
Posts: 2
Posted: Tue, 2003-01-07 02:08

By rightclicking on a photo, the user can see the path of all photos. Because the captions usually with growning character

(aaa, aab, aac... or 001, 002, ...) it's easy to get them with a downloadmanager like Flashget by using batch, e.g:

http://www.test.com/albums/test/aaa.sized.jpg
http://www.test.com/albums/test/aab.sized.jpg
http://www.test.com/albums/test/aac.sized.jpg
... or
http://www.test.com/albums/test/001.sized.jpg
http://www.test.com/albums/test/002.sized.jpg
http://www.test.com/albums/test/003.sized.jpg
....

How about anti-leech?

B007

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2003-01-07 02:50

There is extensive discussion on this subject in the forums as well as the User Guide, presenting you with various options on how to make it more difficult to grab images. Specifically, you could edit your .htaccess so that Apache will only serve the images when requested by Gallery. So look a little harder and you'll find plenty of info! :smile:

-Beckett (

)

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Tue, 2003-01-07 03:04

As Beckett said, there are ways to discourage something like this, but no way to really stop it -- this is aganist how the web works. First, you can disable indexes in the album directory, but images can still be requested directly. You can make sure that images will only be displayed if the referrer is your site, but you can easily get around this by something like this

$ telnet your.server 80
Trying your.server...
Connected to your.server.
Escape character is '^]'.
GET /path/to/albums/aaa.jpg HTTP/1.0
Referer: http://yoursite.com/gallery/somealbum
Host: yoursite.com

[image data returned here]

Gallery 2 will have some sort of a image firewall where you can at least move the images out of the document root or deny direct access to them, but again, there is no real way to block users from getting images, only discouragement.

 
B007

Joined: 2003-01-07
Posts: 2
Posted: Thu, 2003-01-09 00:34

Thanks a lot for your tips!
I wait impatient for G2 so :wink:

B007