From: | KuroiNeko <evpopkov(at)carrier(dot)kiev(dot)ua> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: dissallowing access to databases |
Date: | 2000-10-15 11:24:15 |
Message-ID: | 39E993DF.nailNP11GEMA@ed.ed |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Pawel,
> How can I prevent user from connecting to certain databases?
IIRC, users are server-wide, so there's no way to. To protect your tables,
you normally do something like:
create table blabla(
<...>
);
revoke all on blabla from public;
grant select on blabla to blabla_user;
As long as data dictionary is also kept in relations, you should be able
to protect it that way, too. It seems that only DB superusers and owners
have insert/delete rights on data dictionary.
Ed
---
Well I tried to be meek
And I have tried to be mild
But I spat like a woman
And I sulked like a child
I have lived behind the walls
That have made me alone
Striven for peace
Which I never have known
Dire Straits, Brothers In Arms, The Man's Too Strong (Knopfler)
From | Date | Subject | |
---|---|---|---|
Next Message | KuroiNeko | 2000-10-15 11:39:46 | Re: dissallowing access to databases |
Previous Message | Tomas Berndtsson | 2000-10-15 11:09:55 | Re: dissallowing access to databases |