Re: How to setup client auth?

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: How to setup client auth?
Дата
Msg-id 20081217060856.GA31285@a-kretschmer.de
обсуждение исходный текст
Ответ на How to setup client auth?  ("丰上" <frankwind2006@gmail.com>)
Список pgsql-novice
In response to ???? :
> I 'd like to allow only one remote client to connect using plain-text
> password from certain IP.
> How to do it?How to setup pg_hba.conf or postgresql.conf?
> Thanks in advance.

pg_hba.conf

Something like:

host    <database>    <user>    <ip/mask>    password

Change the <param> with your values, and read the doc about client-auth:
http://www.postgresql.org/docs/8.3/interactive/client-authentication.html


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: "丰上"
Дата:
Сообщение: How to setup client auth?
Следующее
От: Thomas Harold
Дата:
Сообщение: Basic PostgreSQL administration questions? (pg_hba.conf, roles, grants, etc)