pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: Roland Walter <rwa@mosaic-ag.com>
Cc: Leonardo Ribeiro Queiros <leonardo@eee.ufg.br>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Applet - JDBC?
Date: Tue, 20 Dec 2005 08:40:46 -0800
Message-ID: <43A8340E.1040208@hogranch.com> (raw)
In-Reply-To: <rc4psnramui.fsf@mosaic-ag.com>
References: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br>
	<rc4psnramui.fsf@mosaic-ag.com>


>>[pg_hba.conf]
>>...
>># TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD
>>
>># "local" is for Unix domain socket connections only
>>local   all         all                               trust
>># IPv4 local connections:
>>local	all	postgres			trust
>>host    all     postgres         127.0.0.1	255.255.255.255          trust
>>host	all	all	0.0.0.0/0	trust
>># IPv6 local connections:
>>#host    all         all         ::1/128               trust
>>    
>>
>
>
>Your pg_hba.conf is missing a line that corresponds to the interface to the world
>of the network card.
>
>You should add a line for the subnet your computer is connected to, for example:
>
>host    all         all         172.17.1.87       255.255.248.0     md5
>
>This is for the connection from all computers in my subnet with md5 password-authentication.
>If you do not use localhost as hostname in the connection string, this is needed even
>for local connections.
>  
>

scary, however, is...

   host	all	all	0.0.0.0/0	trust

I read that to say, trust anyone from any IP to be anyone they say they want to be.

wouldn't that trump your subnet md5 line ?





view thread (4+ messages)  latest in thread

Message-ID: <43A8340E.1040208@hogranch.com>
Permalink:  ../43A8340E.1040208@hogranch.com/
Also on:    postgresql.org/message-id/43A8340E.1040208@hogranch.com

 · 

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-jdbc@postgresql.org
  Cc: pierce@hogranch.com, rwa@mosaic-ag.com, leonardo@eee.ufg.br
  Subject: Re: Applet - JDBC?
  In-Reply-To: <43A8340E.1040208@hogranch.com>
  References: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br> <rc4psnramui.fsf@mosaic-ag.com> <43A8340E.1040208@hogranch.com>

* 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