The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hotlink Thieves

Discussion in 'Security' started by spainhighlander, May 18, 2007.

  1. spainhighlander

    Joined:
    Dec 12, 2006
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Benidorm, Spain
    Hello there

    We have for a long period of time suffered from bandwidth theft due to 'hotlinking'.

    We have tried to restrict access from thieves in USA and Canada (no disrespect to them, but they are not really part of our potential client base). We used script in the .htaccess file.

    Is there any way, using CPanel's exraordinarily good functions to track down these blaggards ?

    Basically, it is our photos that they steal through 'hot linking'.

    Regards

    Highlander
     
  2. _Sam_

    _Sam_ Well-Known Member

    Joined:
    Feb 24, 2007
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    Try Hotlink protection in cPanel
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Track them? You can see what images get hits via awstsats. Might be something there for you. Here's a good tutoral on stopping them.

    Blocking images can be problematic (bad example ;) ) for some that might want to get listed at waybackmachine BTW. ;)
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    You can restrict access to your files by using either GeoIP or checking the referer variable.

    GeoIP is a module from MaxMind (maxmind.com) that would allow you to block
    access to Canada and the USA (or wherever you would like to block) with just
    a few simple lines of code in your httpd.conf file or a .htaccess file.

    (I made another post somewhere around here detailing how to install GeoIP that
    you can probably find with the search functions for this forum community)

    The later item mentioned above is your basic hotlink protection which can actually
    be setup directly from your Cpanel control panel for the account you want to protect
    and works by adding some referrer checks to your .htaccess file.

    Now as far as tracking requests, I would just keep an eye on AwStats



    EDIT: http://forums.cpanel.net/showpost.php?p=303661&postcount=2

    .
     
    #4 Spiral, May 18, 2007
    Last edited: May 18, 2007
  5. vagsoftware

    vagsoftware Active Member

    Joined:
    Oct 20, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Yo!

    Hunt down with GeoIP and block the bastards with iptables:

    iptables -I INPUT -s xxx.xxx.xxx.xxx -j DROP

    Respekt.
     

Share This Page