Image leaching

Discussion in 'Fan Sites' started by Rox, Jan 5, 2003.

Thread Status:
Not open for further replies.
  1. Rox Administrator Emeritus

    Member Since:
    Nov 24, 2000
    star 6
    Is there a way to tell if someone else is leaching your images? I looked in my site stats but there is nothing I saw that showed it? I only get a certain amount of bandwidth a month.
  2. YodaJeff Manager Emeritus

    Member Since:
    Oct 18, 2001
    star 7
    I don't know of an easy way to tell, other than actually seeing the images on another website.

    There are ways of stopping it, by adding a couple lines into the .htaccess file, to redirect remote requests to an alternate image or file.
  3. Night4554 Jedi Grand Master

    Member Since:
    Oct 9, 2000
    star 5
    Assuming they're leaching from a place that doesn't edit the image size, you could stop them from leaching rather quickly by making the no-leech image a 2000x2000 transparent gif (so to keep the filesize down). Bet that'd screw up the page it's on ;)

    ¤Night
  4. Rox Administrator Emeritus

    Member Since:
    Nov 24, 2000
    star 6
    Would either of you two know how to do that? I have edited the ht file before, but what do I add in there?
  5. YodaJeff Manager Emeritus

    Member Since:
    Oct 18, 2001
    star 7
    Just add the following lines...
    SetEnvIfNoCase Referer "^http://hostname.com/" local_ref=1
    SetEnvIfNoCase Referer "^http://www.hostname.com/" local_ref=1
    <FilesMatch ".(gif|GIF|jpg|JPG|jpeg|JPEG)">
    Order Allow,Deny
    Allow from env=local_ref
    </FilesMatch>

    ErrorDocument 403 /alternate_image_or_file.gif


    If you don't include the "ErrorDocument 403" line, it'll just come up with a regular 403 error when someone tries to link to it. With the "ErrorDocument 403" line, it replaces 403 error page with the specified page or file.

    I think that should do it.
  6. Rox Administrator Emeritus

    Member Since:
    Nov 24, 2000
    star 6
  7. malkieD2 Ex-Manager and RSA

    Member Since:
    Jun 7, 2002
    star 7
    There's a great website called Anti-Leech which offers.......erm, anti leech solutions. I *think* they have free software, but I'm not sure as I've never investigated it fully.

    Give them a try :)

    [image=http://online.anti-leech.com/images/online_logo_2.gif] <---- anyone get the irony ?

    malkie

    EDIT: yes, they have free HTML tutorials and the like, helping you to protect you own material.
  8. MaxVeers TFN FanFilms Staff, Manager Emeritus

    Member Since:
    Apr 24, 2000
    star 5
  9. DarkWoman Jedi Master

    Member Since:
    Jan 31, 2002
    star 4
    Nice thread.

    Thanks for all the suggestions and helpful links, I'll probably be using them for a site I'm making. :)
Thread Status:
Not open for further replies.