From: KyLiE <citlali.guerrero@inegi.gob.mx>
To: pgsql-admin@postgresql.org
Subject: Restricting the access to a database
Date: Thu, 23 Feb 2006 15:07:05 -0600
Message-ID: <43FE23F9.4000908@inegi.gob.mx> (raw)
Hi all, im new in this and my question can sound stupid, here is the
thing, i have a server wich have 3 databases, each one with different
users(user1, user2 and user3)
user1 have : db1, db2 and db3
user2 have : example1
and user3 have : pgadmin
Im trying this :
I want that user1 have access only to his databases, and so on,i mean
user1 most not see : example1, pgadmin.
With the schema i resrict this but only on the tables of adatabase, but
if you change search_path and add the user1's schema then you can see
their tables.
Does anyone has done it, or know how to do this??
thanks
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: citlali.guerrero@inegi.gob.mx
Subject: Re: Restricting the access to a database
In-Reply-To: <43FE23F9.4000908@inegi.gob.mx>
References: <43FE23F9.4000908@inegi.gob.mx>
* 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