Received: from web215.mail.yahoo.com (web215.mail.yahoo.com [128.11.68.115]) by hub.org (8.10.1/8.10.1) with SMTP id e6E6mb064977 for ; Fri, 14 Jul 2000 02:48:37 -0400 (EDT) Received: (qmail 9726 invoked by uid 60001); 14 Jul 2000 06:48:36 -0000 Message-ID: <20000714064836.9725.qmail@web215.mail.yahoo.com> Received: from [212.95.170.139] by web215.mail.yahoo.com; Thu, 13 Jul 2000 23:48:36 PDT Date: Thu, 13 Jul 2000 23:48:36 -0700 (PDT) From: R D Subject: Re: users and passwords problem To: Denis Pugnere Cc: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200007/63 --- Denis Pugnere wrote: > > PG 7.0.2, RH Linux 6.2 > > I'm trying to secure access to pgsql databases. > the politic I use is to only allow access databases > with passwords. > > for this, I use in pg_hba.conf : > local all password > host all 127.0.0.1 255.255.255.255 password > Why this access is allowed ? You can modify pg_hba.conf in order to allow or deny access to some users to the definite DBs using external password file ( read the manual for details). I think that this method is clumsy, but there is no other way to do this in PostgreSQL and i think this should be completely redone.There is another problem: unfortunately you can't deny cteating of tables in the allowed DBs (This will be fixed in 7.1 according to TODO list). regards, Rumen __________________________________________________ Do You Yahoo!? Get Yahoo! Mail – Free email you can access from anywhere! http://mail.yahoo.com/