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 -~----------~----~----~----~------~----~------~--~---
