From: Rodrigo Sakai <rodrigo.sakai@zanthus.com.br>
To: carlosreimer@terra.com.br
To: pgsql-admin@postgresql.org
Subject: RES: Hiding table structure information
Date: Mon, 26 Jun 2006 17:02:44 -0300
Message-ID: <000301c6995b$7d5c9150$4700a8c0@TREEZANTHUS> (raw)
In-Reply-To: <PEEPKDFEHHEMKBBFPOOKIENHDBAA.carlosreimer@terra.com.br>
I think you have to use a view! You create a view on this table specifying
only the columns the user may have access, and then you give privileges on
this view instead of giving privileges on the table!
-----Mensagem original-----
De: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] Em nome de Carlos H. Reimer
Enviada em: segunda-feira, 26 de junho de 2006 14:40
Para: pgsql-admin@postgresql.org
Assunto: [ADMIN] Hiding table structure information
Hello,
Is there a way to hide the table definition structure from an user, even if
the user has privileges to select data from that table?
Reimer
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
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: rodrigo.sakai@zanthus.com.br, carlosreimer@terra.com.br
Subject: Re: Hiding table structure information
In-Reply-To: <000301c6995b$7d5c9150$4700a8c0@TREEZANTHUS>
References: <PEEPKDFEHHEMKBBFPOOKIENHDBAA.carlosreimer@terra.com.br> <000301c6995b$7d5c9150$4700a8c0@TREEZANTHUS>
* 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