Limiting visitors

Discussion in 'Site & Server Administration' started by uca, Feb 19, 2008.

  1. #1
    How would I go about preventing certain areas of the world from visiting a website?

    Actually it would be more about showing it to visitors from the US only, since I am targeting Americans only.

    As for other visitors, I wouldn't mind restricting the view to those that have a password.

    I know it's doable, but does anybody know how or, better, where to go to find out how?

    Thanks very much!

    :)
     
    uca, Feb 19, 2008 IP
  2. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #2
    You can block all IPs, and allow IP of countries you want only. But in that case, you will need a database of countries' IP ranges.
     
    gate2vn, Feb 19, 2008 IP
    uca likes this.
  3. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #3
    There are lots of ways to do this. You can block all the subnets allocated to each country from Block a Country (http://www.blockacountry.com/). Or, do the reverse. Get the subnets in use in the US and "deny" everything else.
     
    boltok, Feb 20, 2008 IP
    uca likes this.
  4. uca

    uca Well-Known Member

    Messages:
    2,242
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    155
    #4
    I think that this solves part of my problems!

    Thanks!

    :)

    Greenies on their way!

    What about passwords for some countries? Is that doable at all?
     
    uca, Feb 20, 2008 IP