Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: IP - country

by ncw (Friar)
on Mar 02, 2001 at 04:02 UTC ( #61702=note: print w/replies, xml ) Need Help??

in reply to IP - country

I've wanted to do the same thing in the past to ban troublesome countries from doing credit card transactions. Some countries like Russia have many people trying to abuse credit cards and no way legal recourse for people outside Russia.

I've done this by hand using whois lookups to, and which cover everyone. This is time consuming in the extreme though!

Recently I discovered which is a complete whois lookup on all possible ip addresses. I was contemplating downloading the info on the site, parsing it to produce a perl module which you could give an IP address to and it would return a country. This would be instant too!

Replies are listed 'Best First'.
Re: Re: IP - country
by AgentM (Curate) on Mar 02, 2001 at 04:25 UTC
    That is extremely insecure. I understand how this may give you a sense of security, but logging into your website from Russia via SpaceProxy completely defeats the purpose of this check. In effect, it is faster to bypass the check than it takes to actually perform the check! It is very dangerous to rely heavily on such services.
    AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.
      I agree with you that this check isn't fool/hacker proof. However it is useful as an additional check. Believe me I've been there and had to deal with the chargebacks ;-)

      If you are talking about credit card transactions (which I was) then you are talking about secure transactions via https which in general aren't proxied.

      Of course most anyone technical can hide their true IP address but in our case that wasn't the sort of person we were dealing with.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://61702]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-01-25 17:34 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (67 votes). Check out past polls.