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 1AA36D1B4FE for ; Tue, 14 Oct 2003 09:33:51 +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 62768-02 for ; Tue, 14 Oct 2003 06:33:22 -0300 (ADT) Received: from nil.tinet.org (tinet.org [195.77.216.130]) by svr1.postgresql.org (Postfix) with ESMTP id 71EB3D1B4E9 for ; Tue, 14 Oct 2003 06:33:19 -0300 (ADT) Received: from tinet.org ([195.76.233.3]) by nil.tinet.org (Netscape Messaging Server 4.1) with ESMTP id HMQQJ405.L1X for ; Tue, 14 Oct 2003 11:33:04 +0200 Message-ID: <3F8BC293.7080606@tinet.org> Date: Tue, 14 Oct 2003 11:32:03 +0200 From: Daniel Rubio User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Security Problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/131 X-Sequence-Number: 10692 Hi to all 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. This is very visual with PGadmin. I connect as a simple user, and I can't create or select data from other's database, but i can see which databases exists on the system and look at the tables and columns of each of them (and i don't want it). I've tried to solve it with: REVOKE ALL PRIVILEGES ON DATABASE x FROM PUBLIC; REVOKE ALL PRIVILEGES ON SCHEMA public FROM PUBLIC; REVOKE ALL PRIVILEGES ON SCHEMA public FROM GROUP users; ... And I still can to look at the others database structure (connecting as a non privileged user) ... How I could solve this? Thanks -- ******************************************************** Daniel Rubio Rodríguez ********************************************************