preventing access with psql - Mailing list pgsql-admin

From Fabio Telles
Subject preventing access with psql
Date
Msg-id 5764f4b10802181115r26384616od2b74d0958aeded3@mail.gmail.com
Whole thread Raw
Responses Re: preventing access with psql  (paul rivers <rivers.paul@gmail.com>)
List pgsql-admin
I have an application who is client/server instaled with hundred of
users where every user of the aplication have one user registred in
the database. The aplication and PostgreSQL is working fine and we use
some roles to grant access in every object that some groups need to
use.
The problem is that once the user have a role granted to him, he can
connect direct to   the database using psql or any other tool. We
really need to prevent this. If we use an aplication server, I could
limit the access using just one IP on pg_hba.conf, but in this case we
could not do these.

In Oracle, we use the clause 'set role identified by some_password'.
How could I handle these problem. Any clue?

Thanks for any help,
Fabio Telles
--
blog: http://www.midstorm.org/~telles/
e-mail / jabber: fabio.telles@gmail.com

pgsql-admin by date:

Previous
From: Michael Monnerie
Date:
Subject: Re: WAL backups
Next
From: paul rivers
Date:
Subject: Re: preventing access with psql