1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to block spammers and scammers from website?

Discussion in 'Black Hat SEO' started by nonai, Apr 24, 2014.

  1. nonai

    nonai Power Member

    Joined:
    Oct 10, 2013
    Messages:
    524
    Likes Received:
    63
    sometimes when I am using a proxy to access some sites, I get an error message saying I cannot access the site. I dont know how they do it but they have a way of detecting that you are using a proxy and blocking you. I would like to do the same thing.

    I want to block proxies. in addition, I want to block any ip address listed on sites like stopforumspam and spamhaus. Also, I want to block certain countries, like India, Pakistan, Philippines, pretty much if they are not in US or Canada, I dont want them on my site.

    how can I do these?
     
  2. Apricot

    Apricot Administrator Staff Member Moderator

    Joined:
    Mar 26, 2013
    Messages:
    11,968
    Likes Received:
    6,456
    Gender:
    Female
    Occupation:
    BHW Moderator
    Location:
    London
    Home Page:
    If you use Wordpress, the must be a plugin out there for it.
     
    • Thanks Thanks x 1
  3. Mr.Whitehat

    Mr.Whitehat Senior Member

    Joined:
    Apr 23, 2009
    Messages:
    855
    Likes Received:
    220
    Occupation:
    Wandering Around !
    Location:
    Dating Moolah Babe^
    use cloudflare and it'll block known malicious ips. And use httaccess to deny access from unwanted countries
     
  4. resistosai111

    resistosai111 Power Member

    Joined:
    Oct 31, 2010
    Messages:
    551
    Likes Received:
    116
    Occupation:
    SEO
    Location:
    Somewhere in Earth
    Home Page:
    htaccess rewrite is good idea do it man.
     
  5. the_demon

    the_demon Jr. Executive VIP

    Joined:
    Nov 23, 2008
    Messages:
    3,177
    Likes Received:
    1,563
    Occupation:
    Search Engine Marketing
    Location:
    The Internet
    You can use MaxMind's paid services to block open proxies as well as country blocking. I've used them a lot and their information is highly accurate.
     
  6. BuildMoreLinks

    BuildMoreLinks Jr. VIP Jr. VIP Premium Member

    Joined:
    Jun 7, 2012
    Messages:
    1,916
    Likes Received:
    655
    Location:
    17.3660° N, 78.4760° E
    Your best bet would be using Cloudflare, but their IP blocking is sometimes very wrong.
     
  7. aqibarif74

    aqibarif74 Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 20, 2013
    Messages:
    1,852
    Likes Received:
    468
    Occupation:
    Founder of Aheadhost.com
    Home Page:
    1+ for Mr Apricot :)
     
  8. Conor

    Conor Jr. VIP Jr. VIP

    Joined:
    Nov 7, 2012
    Messages:
    3,365
    Likes Received:
    5,426
    Gender:
    Male
    Location:
    South Africa
    Home Page:
  9. Adfirorakib

    Adfirorakib Junior Member

    Joined:
    Aug 3, 2013
    Messages:
    105
    Likes Received:
    19
    Gender:
    Male
    Home Page:
    You can use .htaccess to do it
     
  10. PrinceVisi

    PrinceVisi Elite Member

    Joined:
    Jan 11, 2012
    Messages:
    1,916
    Likes Received:
    1,009
    Occupation:
    BusinessMan
    Location:
    Tropoja

    Why would you block traffic?

    Free traffic is always good, no matter from where it comes.
     
  11. TZ2011

    TZ2011 Senior Member

    Joined:
    Jun 26, 2011
    Messages:
    832
    Likes Received:
    864
    Occupation:
    Cleaning servers
    My Aprotect script is doing exactly what you want - blocking by IP and IP ranges (CIDR), by user agent, host, proxy, tor nodes.

    Works on any site, follow instructions how to add one line of code into header or wp-blog-header.php. Edit ip's, user agents, hosts, add or remove what you want. Email reports coming, so you can adjust what to block or allow further.

    Download:
    Code:
    https://www.mediafire.com/?7vs7snl11gkz61v

    There is a two versions, one standard is with normal set for blocking, other one for paranoic set, plus proxy and tor nodes blocking. Everything is easy to enable or disable, you will see when you open the script.
     
    • Thanks Thanks x 1