X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 98A2CD1B515 for ; Tue, 14 Oct 2003 13:51:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 98368-05 for ; Tue, 14 Oct 2003 10:50:57 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 82710D1B502 for ; Tue, 14 Oct 2003 10:50:53 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9EDouhn008760; Tue, 14 Oct 2003 09:50:56 -0400 (EDT) To: Daniel Rubio Cc: pgsql-admin@postgresql.org Subject: Re: Security Problem In-reply-to: <3F8BC293.7080606@tinet.org> References: <3F8BC293.7080606@tinet.org> Comments: In-reply-to Daniel Rubio message dated "Tue, 14 Oct 2003 11:32:03 +0200" Date: Tue, 14 Oct 2003 09:50:56 -0400 Message-ID: <8759.1066139456@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/133 X-Sequence-Number: 10694 Daniel Rubio writes: > I'm mantaining a Postgres installation on an ISP, and I see a relativly > important security issue. > I can connect to postgres with a normal user login and take a look to > the database structure of all the other databases on the installation. That is correct; we do not consider it a security problem. If you don't want a user to be able to look at the system catalogs of a database, you need to disallow him from connecting to that database at all. (See pg_hba.conf for this, not GRANT/REVOKE.) regards, tom lane