[web2py] Re: Authenticate against the users defined at the server database
On 22 abr, 14:10, Kuba Kucharski wrote: > > I meant to enter user and password from a form > > ?? > > you mean you want to authenticate to your database with creditentials > from auth_user table??? > I do not really need anything. A few days ago showing web2py asked me as validated when there is a database server with registered users at the server level (not at the table as is the case auth_user), and are already assigned permissions to tables, views, processes, etc in the database. Jose -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
Re: [web2py] Re: Authenticate against the users defined at the server database
> I meant to enter user and password from a form ?? you mean you want to authenticate to your database with creditentials from auth_user table??? -- Kuba -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
[web2py] Re: Authenticate against the users defined at the server database
On 22 abr, 13:06, mdipierro wrote: > db = DAL('postgres://username:passw...@hostname:port/dbname') I meant to enter user and password from a form Jose -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
[web2py] Re: Authenticate against the users defined at the server database
db = DAL('postgres://username:passw...@hostname:port/dbname') auhenticate against the database authentication. If you want to authenticate against the OS username:password of the db owner, you must create a ssh tunnel. That must be done outside web2py. On Apr 22, 10:34 am, Jose wrote: > Hi, > > there any way to authenticate against the users defined at the server > database? > That is, pass user and password in db = DAL (...) > > Regards, > Jose > > -- > Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en