Skip site navigation (1) Skip section navigation (2)

Re: pg_hba.conf Help

From: "Nikolay Mijaylov" <nmmm(at)nmmm(dot)nu>
To: <pgsql-sql(at)postgresql(dot)org>, "Brian C(dot) Doyle" <doyleb(at)corp(dot)earthlink(dot)net>
Subject: Re: pg_hba.conf Help
Date: 2000-05-23 16:26:41
Message-ID: 000501bfc4d3$ad8e4930$8b5e7cd4@underworld (view raw or flat)
Thread:
Lists: pgsql-sql
Here is my pg_hba

local        all                                         trust
host         all         127.0.0.1      255.255.255.255  trust
host         all         172.16.134.0   255.255.255.0    password
pg_passwd
host         all         123.123.123.0   255.255.255.0    password
pg_passwd
host         all         0.0.0.0        0.0.0.0          reject

This allow local (trusted) connections, and connections from 172.16.134.*
and 123.123.123.* networks (with passwords).
all othe is rejected

Local trusted connection is not good idea if you have many local users...
    niki

----- Original Message -----
From: Brian C. Doyle <doyleb(at)corp(dot)earthlink(dot)net>
To: <pgsql-sql(at)postgresql(dot)org>
Sent: Tuesday, May 23, 2000 6:51 PM
Subject: [SQL] pg_hba.conf Help


> Hello all,
>
> How do i set up the pg_hba.conf to allow another domain to access a
> database.  This other domain is not hosted locally either?
>
>
> Brian C. Doyle
> Coach Team Force
> Earthlink Mindspring Technical Support
> support(at)mindspring(dot)com


In response to

pgsql-sql by date

Next:From: Brian C. DoyleDate: 2000-05-23 16:48:01
Subject: Re: pg_hba.conf Help
Previous:From: Brian C. DoyleDate: 2000-05-23 15:51:01
Subject: pg_hba.conf Help

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group