Re: Spoofing as the postmaster - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Spoofing as the postmaster
Date
Msg-id 20071229163741.GM5031@tamriel.snowman.net
Whole thread Raw
In response to Re: Spoofing as the postmaster  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-hackers
* D'Arcy J.M. Cain (darcy@druid.net) wrote:
> > Probably the first answer is not to run postgres on a machine with
> > untrusted users, but that's not always possible. Maybe we can't find a
> > simple cross-platform answer, but that doesn't mean we should not look
> > at platform-specific answers, at least for documentation.
>
> Yes, that's what I said at the start of this discussion.  If you don't
> trust the users with actual access to the box, the rest of this is
> pretty much academic.

Academic from an upstream standpoint, but there are platform-specific /
setup-specific things you can do (SELinux, vserver/jails, Kerberos, SSL,
etc...).  Documenting it is good, but I think it should really be to the
extent of saying "look, 5432 is unprivledged, here are some ways to deal
with that" and "you should probably put the PG unix socket in a secured
directory" (though Debian and I suspect many other distributions do this
part for you).
Enjoy,
    Stephen

pgsql-hackers by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: Spoofing as the postmaster
Next
From: Mark Mielke
Date:
Subject: Re: Spoofing as the postmaster