From: | Együd Csaba <csegyud(at)vnet(dot)hu> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Login limitation? |
Date: | 2005-11-27 11:32:06 |
Message-ID: | 0IQM00ER32NQ8ZA0@invitel.hu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi All,
I'd like to know if there is a method to let a user login into only
predefined databases? I know that I could edit pg_hba.conf to achive this,
but
- there will be many databases on the server with the same structure but
with different data
- there will be "local admins" who must be able to create new "local users"
(of their own db)
- it is a win32 client application... so editing pg_hba.conf is not too
easy...
So I'd need an administrative method (command?) which is capable to define
(in the server level) a set of databases (0, 1 or more) for every user which
she can login and prevent her from logging in to any other databases. This
data should be modified via SQL statements like GRANT.
I tried to REVOKE all priviges from a user on a db, but the user still able
to login. Another question is that she can't do anything.
Any ideas?
Thx
-- Csaba Együd
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/183 - Release Date: 2005.11.25.
From | Date | Subject | |
---|---|---|---|
Next Message | Brendan Jurd | 2005-11-27 12:38:57 | Re: Generic Q about max(id) vs ORDER BY ID DESC LIMIT 1 |
Previous Message | Együd Csaba (Freemail) | 2005-11-27 07:02:37 | Re: FW: GRANT question |