How to block this one from accessing my site?

Discussion in 'Site & Server Administration' started by Sxperm, Oct 2, 2008.

  1. #1
    I'm looking at statcounter and found some suspicious behavior form some visitors. They come from "Secure Computing" and using "Larbin" as their browser and sit at my site for a very long time. I am suspect about content scraper. I would like to block both bot/user agent (Larbin) and their IP range (207.67.117.xxx). Can I do that via .htaccess file? :) Please help.
     
    Sxperm, Oct 2, 2008 IP
  2. jliu

    jliu Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In your .htaccess:

    RewriteEngine on
    RewriteCond %{HTTP_USER_AGENT} ^Larbin
    RewriteRule ^(.*)$ http://www.redirectedwebsite.com/

    order allow,deny
    deny from 207.67.117.
    allow from all
     
    jliu, Oct 2, 2008 IP
  3. Sxperm

    Sxperm Notable Member

    Messages:
    4,386
    Likes Received:
    142
    Best Answers:
    0
    Trophy Points:
    225
    #3
    My site is wordpress and .htaccess already has this one

    Just put your given code before # END WordPress line right? Will this has any conflict between them? :)

     
    Sxperm, Oct 2, 2008 IP
  4. FreeOnlinePokerSoftware

    FreeOnlinePokerSoftware Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If I were you I wouldn't just block them, because they will find another way to get your content. Rather slightly garble your content when you detect its them via your PHP/ASP :)