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

Re: pg_hba.conf Help

From: "Poul L(dot) Christiansen" <plc(at)faroenet(dot)fo>
To: "Brian C(dot) Doyle" <doyleb(at)corp(dot)earthlink(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: pg_hba.conf Help
Date: 2000-05-23 15:34:03
Message-ID: 392AA4EB.F5955F88@faroenet.fo (view raw or flat)
Thread:
Lists: pgsql-sql
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(at)mindspring(dot)com


In response to

pgsql-sql by date

Next:From: Brian C. DoyleDate: 2000-05-23 15:51:01
Subject: pg_hba.conf Help
Previous:From: christineDate: 2000-05-23 08:12:41
Subject: OID

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