Обсуждение: Starting postmaster with -i

Поиск
Список
Период
Сортировка

Starting postmaster with -i

От
Gerald Brandt
Дата:
Hi there,

I start my postmaster with the -i option to start with tcp connectivity.

I want to be able to limit who can access my postgres database, and in
theory, I don't need any connectivity outside of the localhost.  But,
without the -i, I can't use pgaccess, or the C library.

How can I limit access to only a certain (or range) of IP's?

Gerald
----------------------------------
E-Mail: Gerald Brandt <gbr@hvdc.ca>
Date: 28-Jan-99
Time: 10:03:53

----------------------------------

Re: [ADMIN] Starting postmaster with -i

От
Jeremiah Davis
Дата:
man pg_hba.conf

pg_hba.conf is used for access control, it should be located in your
$PGDATA directory.

On Thu, 28 Jan 1999, Gerald Brandt wrote:

> Hi there,
>
> I start my postmaster with the -i option to start with tcp connectivity.
>
> I want to be able to limit who can access my postgres database, and in
> theory, I don't need any connectivity outside of the localhost.  But,
> without the -i, I can't use pgaccess, or the C library.
>
> How can I limit access to only a certain (or range) of IP's?
>
> Gerald
> ----------------------------------
> E-Mail: Gerald Brandt <gbr@hvdc.ca>
> Date: 28-Jan-99
> Time: 10:03:53
>
> ----------------------------------
>