pgsql/php3/apache authentication

Поиск
Список
Период
Сортировка
Искать
От
Jim Mercer
Тема
pgsql/php3/apache authentication
Дата
Msg-id
20000426132210.T24479@reptiles.org
Список
Дерево обсуждения
pgsql/php3/apache authentication Jim Mercer <jim@reptiles.org>
Re: [HACKERS] pgsql/php3/apache authentication Peter Eisentraut <e99re41@DoCS.UU.SE>
Re: [HACKERS] pgsql/php3/apache authentication Malcolm Beattie <mbeattie@sable.ox.ac.uk>
Re: [HACKERS] pgsql/php3/apache authentication Peter Eisentraut <e99re41@DoCS.UU.SE>
Re: [HACKERS] pgsql/php3/apache authentication Malcolm Beattie <mbeattie@sable.ox.ac.uk>
Re: [HACKERS] pgsql/php3/apache authentication wieck@debis.com (Jan Wieck)
Re: [HACKERS] pgsql/php3/apache authentication Jim Mercer <jim@reptiles.org>
Re: Re: [HACKERS] pgsql/php3/apache authentication Lincoln Yeoh <lylyeoh@mecomb.com>
Re: Re: [HACKERS] pgsql/php3/apache authentication wieck@debis.com (Jan Wieck)
Re: [HACKERS] pgsql/php3/apache authentication Peter Eisentraut <e99re41@DoCS.UU.SE>

ok, so i have pg-7.0, apache 1.3.12 and php3 installed on a server.

i'm having difficulty coming up with an appropriate security model to cover
off what i want to do:

- queries via localhost (unix domain sockets) should assume that the pg_user
is the same as the unix user running the process.

- queries via tcp sockets should require a valid pg_user and password

the second is easy enough to facilitate.

the first i haven't been able to figure out.

with a pg_hba.conf entry of "local trust", the user can override their identity
and do anything they want.

with a pg_hba.conf entry of "local password" the user is forced to enter their
password every time.  this wouldn't work very well with scripts in crontabs.

am i missing something here?

-- 
[ Jim Mercer                 jim@reptiles.org              +1 416 506-0654 ]
[          Reptilian Research -- Longer Life through Colder Blood          ]
[  Don't be fooled by cheap Finnish imitations; BSD is the One True Code.  ]
В списке pgsql-general по дате отправления
От: wieck@debis.com (Jan Wieck)
Дата:
От: Charles Tassell
Дата:
Сообщение: Re: pgsql DATE
FAQ