Re: Novice question about users and...rights? - Mailing list pgsql-novice

From Laurenz Albe
Subject Re: Novice question about users and...rights?
Date
Msg-id 1511805601.2313.17.camel@cybertec.at
Whole thread Raw
In response to Re: Novice question about users and...rights?  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Novice question about users and...rights?
List pgsql-novice
Stephen Frost wrote:
> > Don't have a database user for each application user, but use
> > one database user for the application to connect to the database.
> 
> This makes the application have to handle all of the authentication and
> authorization for the user, which certainly requires not only more code
> in the application but may also be more complex.

True, if you give administrative application users the CREATEROLE privilege,
you can map database users to application users and have the database handle
application user management.

It is something I do not see often in the wild, but that does not mean
it is a bad thing (unless you want the application to work with different DBMS).

Yours,
Laurenz Albe


pgsql-novice by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Subscription How?
Next
From: Stephen Frost
Date:
Subject: Re: Novice question about users and...rights?