From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "David M(dot) Kaplan" <dkaplan(at)genes(dot)bio(dot)puc(dot)cl> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: local security |
Date: | 2001-04-14 01:23:59 |
Message-ID: | 9237.987211439@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"David M. Kaplan" <dkaplan(at)genes(dot)bio(dot)puc(dot)cl> writes:
> I have a very simple security setup wish. I only want to allow local
> connections where each user can only log into postgres as himself, but
> there isnt a "ident sameuser" option for local connections. Is there
> any way around this? Can anyone explain to me why such an option doesnt
> exist for local connections?
Because IDENT is a TCP protocol and only applies to connections made via
TCP. (Some platforms have ways to get similar info for Unix
connections, but AFAIK they're not standardized.)
If you set environment variable PGHOST to "localhost" then things will
work fairly transparently over TCP ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Mitch Vincent | 2001-04-14 01:28:15 | Re: anti Christian bias? |
Previous Message | Stephan Szabo | 2001-04-14 01:09:53 | Re: Got stumped.. Need assistance with a sql query |