X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B9D9C9DCA85 for ; Tue, 20 Dec 2005 12:41:21 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12211-07 for ; Tue, 20 Dec 2005 12:41:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from hogranch.com (hogranch.com [66.117.128.240]) by postgresql.org (Postfix) with ESMTP id 196B79DCA83 for ; Tue, 20 Dec 2005 12:41:18 -0400 (AST) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id jBKGepF31907; Tue, 20 Dec 2005 08:40:51 -0800 Message-ID: <43A8340E.1040208@hogranch.com> Date: Tue, 20 Dec 2005 08:40:46 -0800 From: John R Pierce User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland Walter CC: Leonardo Ribeiro Queiros , pgsql-jdbc@postgresql.org Subject: Re: Applet - JDBC? References: <60122.200.137.220.17.1135084533.squirrel@webmail.eee.ufg.br> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-8 required=5 tests=[HABEAS_ACCREDITED_COI=-8] X-Spam-Score: -8 X-Spam-Level: X-Archive-Number: 200512/95 X-Sequence-Number: 14426 >>[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 ?