From: Daniel Rubio <drubior@tinet.org>
To: pgsql-admin@postgresql.org
Subject: Security Problem
Date: Tue, 14 Oct 2003 11:32:03 +0200
Message-ID: <3F8BC293.7080606@tinet.org> (raw)
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
********************************************************
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-admin@postgresql.org
Cc: drubior@tinet.org
Subject: Re: Security Problem
In-Reply-To: <3F8BC293.7080606@tinet.org>
References: <3F8BC293.7080606@tinet.org>
* 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