Could anyone help with one or more of these questions:
1- I have web2py running on a machine and I want to be able to connect to 
it using an app LOCALLY. I want to use the local IP address of web2py 
server and a password as authentication. I get the ip address of web2py 
server and can store it in the database. I know I can access this machine 
using its ip address on the URL but how can I access it on an app that is 
running on a server on the internet? Should I ask for the IP address and 
compare it with the web2py server IP address and also check the password? 
Can I use web2py authentication? This is happening locally so there is less 
of security of authentication concern than when it is on the internet. 
Should I define a new server in the controller like local_auth() in the 
controller and a form in the login page to get the ip and password and 
compare and issue the authentication? 
2- Is there a way to do two methods of authentication on the same 
functions? Meaning that I want to do the above authentication when I'm 
local and connected to the same network and use web2py's authentication 
using email and password when I'm not local and connected via internet?
Appreciate any help, specially if there is an example already developed


-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to