pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nikolay Mijaylov <nmmm@nmmm.nu>
To: pgsql-sql@postgresql.org
To: Brian C. Doyle <doyleb@corp.earthlink.net>
Subject: Re: pg_hba.conf Help
Date: Tue, 23 May 2000 19:26:41 +0300
Message-ID: <000501bfc4d3$ad8e4930$8b5e7cd4@underworld> (raw)
References: <4.3.1.2.20000523115007.00e6c280@pop.internal.mindspring.com>

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@corp.earthlink.net>
To: <pgsql-sql@postgresql.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@mindspring.com




view thread (4+ messages)  latest in thread

Message-ID: <000501bfc4d3$ad8e4930$8b5e7cd4@underworld>
Permalink:  ../000501bfc4d3$ad8e4930$8b5e7cd4@underworld/
Also on:    postgresql.org/message-id/000501bfc4d3$ad8e4930$8b5e7cd4@underworld

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: nmmm@nmmm.nu, doyleb@corp.earthlink.net
  Subject: Re: pg_hba.conf Help
  In-Reply-To: <000501bfc4d3$ad8e4930$8b5e7cd4@underworld>
  References: <4.3.1.2.20000523115007.00e6c280@pop.internal.mindspring.com> <000501bfc4d3$ad8e4930$8b5e7cd4@underworld>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox