Re: [HACKERS] pgsql/php3/apache authentication

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Malcolm Beattie <mbeattie(at)sable(dot)ox(dot)ac(dot)uk>
Cc: Jim Mercer <jim(at)reptiles(dot)org>, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] pgsql/php3/apache authentication
Date: 2000-04-28 08:09:25
Message-ID: Pine.GSO.4.02A.10004281005410.10804-100000@Uggla.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, 27 Apr 2000, Malcolm Beattie wrote:

> > There's no way for the server to determine the system user name of the
> > other end of a domain socket; at least no one has implemented one yet. So
> > essentially this isn't going to work.
>
> The client can pass an SCM_CREDENTIALS (Linux) or SCM_CREDS (BSDish)
> socket control message down the Unix domain socket and the kernel will
> fill in the client's credentials (including PID, uid and gid) for the
> receiver to read. Some Unices don't support this though.

This might be doable but I think I'd like to see exactly how many Unices
support this. I wouldn't be too excited about a solution that only works
on Linux and ???BSD (or any other combination). Is there any way one can
check?

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Esser 2000-04-28 08:31:32 How to unsubscribe from this mailinglist?
Previous Message Peter Eisentraut 2000-04-28 08:05:31 Re: [HACKERS] pgsql/php3/apache authentication

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergey Seroukhov 2000-04-29 19:41:55 Delphi's components for direct access to PostgreSQL
Previous Message Peter Eisentraut 2000-04-28 08:05:31 Re: [HACKERS] pgsql/php3/apache authentication