pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Poul L. Christiansen <plc@faroenet.fo>
To: Brian C. Doyle <doyleb@corp.earthlink.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: pg_hba.conf Help
Date: Tue, 23 May 2000 17:34:03 +0200
Message-ID: <392AA4EB.F5955F88@faroenet.fo> (raw)
References: <4.3.1.2.20000523115007.00e6c280@pop.internal.mindspring.com>

Open your /var/lib/pgsql/pg_hba.conf (or where ever it is)

Add this line to the bottom of the file:
host    all    IP    netmask    trust

example:
host    all    194.182.235.2    255.255.255.255 trust

This allows only access from the specified IP.

"Brian C. Doyle" wrote:

> 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: <392AA4EB.F5955F88@faroenet.fo>
Permalink:  ../392AA4EB.F5955F88@faroenet.fo/
Also on:    postgresql.org/message-id/392AA4EB.F5955F88@faroenet.fo

 · 

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: plc@faroenet.fo, doyleb@corp.earthlink.net
  Subject: Re: pg_hba.conf Help
  In-Reply-To: <392AA4EB.F5955F88@faroenet.fo>
  References: <4.3.1.2.20000523115007.00e6c280@pop.internal.mindspring.com> <392AA4EB.F5955F88@faroenet.fo>

* 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