Re: Connect to postgres from a dynamic IP

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: dfx(at)dfx(dot)it
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Connect to postgres from a dynamic IP
Date: 2008-03-03 11:08:36
Message-ID: 47CBDC34.9070407@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 03/03/2008 11:01, dfx wrote:

> The question il: Is there a method to avoid to insert the addesses of
> the clients in the pg_hba.conf and to allow connections from internet
> with security assured only by username and password?

Yes, that's what people have been explaining: you insert a line
something like:

host [database] [user] 0.0.0.0/0 md5

if you're asking if pg_hba.conf can be bypassed completely, then as far
as I know the answer is no. However, inserting the line above will
have a similar effect, at least with regard to incoming network connections.

HTH,

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
---------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Godoy 2008-03-03 11:33:28 Re: Connect to postgres from a dynamic IP
Previous Message A. Kretschmer 2008-03-03 11:05:00 Re: Connect to postgres from a dynamic IP