Selective hotlinking protection, and which sites/search engines to allow

Discussion in 'Security' started by mrukjames, Jul 29, 2010.

  1. #1
    Hi, I have a list of at least 10 sites that are hotlinking pictures and using a lot of bandwidth. I would like to selectively list these sites in my htaccess to block them- rather than block everything. I haven't seen this option anyway yet.

    The 2nd question with the most popular htaccess method, is just to allow sites that you want to hotlink like Google. Could someone give me a list of sites/search engines that you would ALLOW to hotlink, as I do not want to block any beneficial site or anything that can make my site loose out as a result of blocking sites from hotlinking.

    Kind Regards,
    James
     
    mrukjames, Jul 29, 2010 IP
  2. Rampart

    Rampart Guest

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    A site called "eyecreate.ca" has an htaccess wizard that is a snap to us. Just fill in the lanks and selct allow or deny. Now you can selectively block certain users.

    Here is an example of what it looks like:
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from 199.166.210.
    allow from .golden.net
    allow from proxy.aol.com
    allow from fish.wiretap.net
    </Limit>
     
    Rampart, Aug 29, 2010 IP