what you want to do is technically called geofencing. At the moment, there are no other ways to "locate" a user if not inspecting the remote ip address, so all "methods" you want to implement share the common "requirement" of a ip-->country mapping
On Wednesday, November 11, 2015 at 7:02:07 AM UTC+1, lucas wrote: > > hey everyone, > > what if i wanted to block all users except those originating from one > country, say america. i know i can download a IP file of all america IP > addresses and have iptables deny all others. but how about a web2py > method. any ideas, not necessarily IP based? > > thanx in advance, lucas > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.