Access for only one country?

Discussion in 'Programming' started by Sulan84, Jun 18, 2009.

  1. #1
    Is it possible, that for example only visitors from USA can visit my Site?
     
    Sulan84, Jun 18, 2009 IP
  2. KellyAX

    KellyAX Peon

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, but in order to do so you would have to ban most IP extensions.

    22.***.***.***
    51.***.***.***

    Both are India if I remember correctly.
     
    KellyAX, Jun 18, 2009 IP
  3. malaikatgimbal

    malaikatgimbal Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    so we have to store IP of country that we've granted to visit our site? where can i found an IP list for each country ?
     
    malaikatgimbal, Jun 18, 2009 IP
  4. KellyAX

    KellyAX Peon

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Here is basically a giant tutorial on what you would need to do.

    http://www.webmasterworld.com/forum92/104.htm
     
    KellyAX, Jun 18, 2009 IP
  5. Sulan84

    Sulan84 Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #5
    i know that people can avoid this with proxies.
    i need the easiest way to do that. It don't must work 100%! It should block about 80%...
     
    Sulan84, Jun 18, 2009 IP
  6. KellyAX

    KellyAX Peon

    Messages:
    113
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Don't mind me asking, but why do you want to block everyone anyways?
     
    KellyAX, Jun 18, 2009 IP
  7. Sulan84

    Sulan84 Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #7
    I have build a free download.portal for mobilevideos.
    From one country a got a offer not to give it away. They want to sell it. And i get provision.
     
    Sulan84, Jun 18, 2009 IP
  8. iKiller

    iKiller Guest

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    contact me in a pm .
     
    iKiller, Jun 19, 2009 IP
  9. DavidHall01

    DavidHall01 Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Ohh really, thanks to info actually I was looking for this.
    Nice to meet you.
     
    DavidHall01, Jun 19, 2009 IP
  10. buldozerceto

    buldozerceto Active Member

    Messages:
    1,137
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
  11. Sulan84

    Sulan84 Member

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #11
    cool link. thank you
     
    Sulan84, Jun 19, 2009 IP
  12. hassanahmad2

    hassanahmad2 Active Member

    Messages:
    243
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #12
    hassanahmad2, Jun 20, 2009 IP
  13. mortenb

    mortenb Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Do a google search for the Maxmind geoip database. They have a free db that you can use on country level lookups. It is pretty easy to implement too.
     
    mortenb, Jun 20, 2009 IP
  14. xBidule

    xBidule Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Depending on your infrastructure, I would suggest that you block on the server level and not in your application.
    and be aware that many IP's are actually just a proxy so you might end-up blocking some of your US customers.
     
    xBidule, Jun 20, 2009 IP