How to block the scam visitors from some countries?

Discussion in 'Security' started by cathaylist.com, Jul 16, 2008.

  1. #1
    Because our site allow people free to post USA classifieds ads,
    I got some emails few days ago from people said that they know some pet ads on my site are scam. They said that these cheat ads are from Cameroon.

    It's almost impossible for me to check which listing is a scam.
    I am even not sure if the abuse reports are correct or not?

    I browsed Google Analytics showed that the vistors from these areas are many.

    It seems not a right thing to get so many Africa visitors since our website is for USA only.

    Is there any way to block visitors from some countries as Cameroon and Kenya?
     
    cathaylist.com, Jul 16, 2008 IP
  2. wattie

    wattie Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Find their IP ranges and block the whole countries with .htaccess file with "Order Allow, Deny...".

    Example - you want to block 99.88.*.* and you will do:

    
    Order Allow,Deny
    Deny from 99.88
    Allow from all
    
    Code (markup):
     
    wattie, Jul 16, 2008 IP
  3. alinaseductive

    alinaseductive Guest

    Messages:
    120
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    just use the option deny IP in cpanel
     
    alinaseductive, Jul 16, 2008 IP
  4. Yousif

    Yousif Banned

    Messages:
    233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yeah, google up a range of IP's and see which ones are most likely to come from a country as such, and follow wattie on the .htaccess configuration or simply use cPanel to deny the IP(s).
     
    Yousif, Jul 16, 2008 IP
  5. cathaylist.com

    cathaylist.com Well-Known Member

    Messages:
    437
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    125
    #5
    Thank you all.
    I have learned that one site as blockacountry(dot)com can offer the block .htaccess rules.
    That's pretty helpful for that I don't need to find out which IP's range is belong to these countries I want to ban.
     
    cathaylist.com, Jul 16, 2008 IP