Validating User Login Within Postgres

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Validating User Login Within Postgres
Date: 2014-07-01 13:58:09
Message-ID: alpine.LNX.2.11.1407010653540.21028@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm developing a new application and want to take advantage of postgres
features such as triggers and stored procedures and put as much of the
middleware 'business logic' into the database engine as is practical.

Is it possible, or practical, to validate a potential user login within
the database? What I've done in the past is search the User table for that
name and password, return it to the application, and have a Python script
see if the entered username and password match that stored in the table.

All pointers and suggestions welcome.

Rich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2014-07-01 14:10:38 Re: Validating User Login Within Postgres
Previous Message Jacob Bunk Nielsen 2014-07-01 13:35:19 Next steps in debugging database storage problems?