pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpreventing access with psql
2+ messages / 2 participants
[nested] [flat]
* preventing access with psql
@ 2008-02-18 19:15 Fabio Telles <fabio.telles@gmail.com>
2008-02-18 19:30 ` Re: preventing access with psql paul rivers <rivers.paul@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Telles @ 2008-02-18 19:15 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: preventing access with psql
2008-02-18 19:15 preventing access with psql Fabio Telles <fabio.telles@gmail.com>
@ 2008-02-18 19:30 ` paul rivers <rivers.paul@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: paul rivers @ 2008-02-18 19:30 UTC (permalink / raw)
To: Fabio Telles <fabio.telles@gmail.com>; +Cc: pgsql-admin
Fabio Telles wrote:
> In Oracle, we use the clause 'set role identified by some_password'.
> How could I handle these problem. Any clue?
>
Normally these role passwords in Oracle are used (and stored) on a
middle tier, and not put into the hands of the client. So where are you
storing this role pass? Compiling it into the app and hoping no one
runs strings on it (or whatever level of digging is required)?
Paul
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2008-02-18 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-18 19:15 preventing access with psql Fabio Telles <fabio.telles@gmail.com>
2008-02-18 19:30 ` paul rivers <rivers.paul@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox