From: | "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> |
---|---|
To: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "Shashwat_Nigam" <Shashwat_Nigam(at)satyam(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Regarding access to a user |
Date: | 2008-08-20 13:10:59 |
Message-ID: | 48ABD192.EE98.0025.0@wicourts.gov |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-sql |
>>> Shashwat_Nigam <Shashwat_Nigam(at)satyam(dot)com> wrote:
> Now what I want is to set privilege that whenever the user log in as
Us
> he can only see database Y, none other than that. The user Us could
have all
> rights for database Y but can't go for any other database (X or Z).
The first thing you need to do is configure "host based
authentication":
http://www.postgresql.org/docs/8.3/interactive/auth-pg-hba-conf.html
Among other things, this allows you to restrict which users can
connect to which databases.
-Kevin
From | Date | Subject | |
---|---|---|---|
Next Message | Blanco, Jose | 2008-08-20 19:48:17 | Ordering not acting right. |
Previous Message | Thomas Jacob | 2008-08-20 10:20:57 | PgWiki entry Shared DB Hosting (was Re: Best practice running a shared DB hosting server) |
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2008-08-20 13:18:58 | Re: Fwd: Restarting with pg_ctl, users, and passwords. |
Previous Message | Tino Wildenhain | 2008-08-20 13:10:38 | Re: SELECT query experts, anyone? |
From | Date | Subject | |
---|---|---|---|
Next Message | EXT-Rothermel, Peter M | 2008-08-20 17:16:40 | looking for example of inserting into a view |
Previous Message | Shashwat_Nigam | 2008-08-20 06:41:44 | Regarding access to a user |