From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Travis Bauer <trbauer(at)indiana(dot)edu> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [general] Permissions |
Date: | 2001-11-12 05:35:20 |
Message-ID: | 200111120535.fAC5ZKn20421@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> How do I set up my pg_hba.conf file to allow user "a" to only
> have access to databases x, y, and z; and user "b" to only have
> access to databases m, n, and o? The pgident authentication
> mechanism looks like the best candidate, but it does not seem
> to quite meet the requirements.
You have separate lines for databases x, y, z and m, n, and o. You
can't use 'trust' because that doesn't really know the user is who he
says he is. You can use secondary password files to specific users.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Davis | 2001-11-12 06:01:51 | Re: [general] Permissions |
Previous Message | Travis Bauer | 2001-11-12 05:12:25 | [general] Permissions |