Hi, Thanks for reply.
We would like to know whether Google system returns at least country If it is unable to geo-locate the client based on the client's IP address to metro level? We would like to block users from specific countries. To do this, we need to test different scenarios. Is there any way to get a country level or metro level details for a given IP address (as a parameter to API) using Google API? Also, We would like to know the details of how Google API geo-locate the clients based on the client's IP address? How Google API gets client IP address and how it geo-locate the client (The whole process between client machine and Google API)? Please help in this regard. Thanks, Malli On Feb 12, 9:05 pm, "warden [Andrew Leach - Maps API Guru]" <[email protected]> wrote: > On Feb 12, 10:32 am, Malli <[email protected]> wrote: > > > Good day! > > > I'm new to this forum and I'm not sure if this is an easy question or > > not, but I've looked around and cannot seem to find an answer. > > I reckon it's best to do this server-side, so that your persona-non- > grata users never get the opportunity to register because the page > they are sent doesn't include the "Register" button. If you do your > validation client-side then it's easily circumvented and you will need > to re-validate server-side anyway. > > There are a number of server-side solutions available. I've used data > from ip2location before when I wanted to avoid passing personal data > outside the European Union. > > No IP-locating service is foolproof. For example, an AOL user in > Pakistan (to take a country more-or-less at random) is likely to > appear to be in the United States. And as Marcelo says, a badly- > behaved proxy will not use X-Forwarded-For and you won't know where > the end user is anyway. > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
