El jueves, 11 de septiembre de 2014 12:05:41 UTC-3, Ramos escribió:
>
> Hello, i have 2 apps that for headaches prevention i moved to the cloud 
> (webfaction)
>
> However its exposed to everyone and i would like to know if the login form 
> could be disabled in case of origin ip not allowed.
> If a user has an easy password and is discovered by unwanted person, it 
> could cause some damage and allowing only users connecting from my company 
> would give me more confidence over security of the app.
>
>
> Thank you
>
> António
>


from book:

@auth.requires(request.client=='127.0.0.1')
def function_six():

 

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

Reply via email to