Re: client authentication towards postgresql in php?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: client authentication towards postgresql in php?
Дата
Msg-id 20031111184752.GA11772@wolff.to
обсуждение исходный текст
Ответ на Re: client authentication towards postgresql in php?  (Daniel Struck <struck.d@retrovirology.lu>)
Ответы Re: client authentication towards postgresql in php?  (Daniel Struck <struck.d@retrovirology.lu>(by way of Daniel Struck <struck.d@retrovirology.lu>))
Re: client authentication towards postgresql in php?  (Daniel Struck <struck.d@retrovirology.lu>(by way of Daniel Struck <struck.d@retrovirology.lu>))
Список pgsql-php
On Tue, Nov 11, 2003 at 14:54:25 +0100,
  Daniel Struck <struck.d@retrovirology.lu> wrote:
>
> The problem is, I don't have a password available in php.
> The users are authenticated with x509 certificats and a private key, not a password. The private key is stored on a
smartcardand never leaves it, the smartcard itself handles the authentication with apache. 
>
> Problem now is, I want to authenticate the user with postgresql, to be able to log what the user is doing in
postgresqlitself. 
> But I don't have a password to authenticate the user.
> Thought about using a Kerberos ticket in postgresql, but don't know how to setup this.

If you trust the host the php/web server runs on you may be able to use
trust authentication. If you don't trust all of the users on that host
then you can use ident authentication, though if the db server and php/web
server aren't the same host using identd may slow things down too much.

В списке pgsql-php по дате отправления:

Предыдущее
От: Daniel Struck
Дата:
Сообщение: Re: client authentication towards postgresql in php?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Support for prepared queries