From: cad0022@iperbole.bologna.it
To: pgsql-admin@postgresql.org
To: pgsql-general@postgresql.org
To: pgsql-odbc@postgresql.org
To: pgsql-hackers@postgresql.org
To: pgadmin-hackers@postgresql.org
To: pgadmin-support@postgresql.org
Subject: How to avoid users from viewing functions code
Date: Fri, 3 Oct 2003 13:09:31 +0200
Message-ID: <1065179371.3f7d58eb8abb9@webmail.iperbole.bologna.it> (raw)
Hi
the problem is to avoid users from viewing functions code (in general db
structures) when connecting to db by means of pgpadmin client.
My db contains several tables and functions and I need to make users viewing
only a restricted
number of tables. It works for tables, as it's possible to define access
policies,
but I didn't find something like that for functions.
The result is that everyone can see functions code from all pgadmin (II & III)
clients using basic user account.
This is my PostgreSQL Client Authentication Configuration File
local all all trust
host all all 127.0.0.1 255.255.255.255 trust
host all all 10.43.13.75 255.255.255.255 trust
host template1 basic 0.0.0.0 0.0.0.0 md5
host servizio basic 0.0.0.0 0.0.0.0 md5
Is there any idea?
Thanks Paolo Mattioli
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: cad0022@iperbole.bologna.it, pgsql-general@postgresql.org, pgsql-odbc@postgresql.org, pgsql-hackers@postgresql.org, pgadmin-hackers@postgresql.org, pgadmin-support@postgresql.org
Subject: Re: How to avoid users from viewing functions code
In-Reply-To: <1065179371.3f7d58eb8abb9@webmail.iperbole.bologna.it>
References: <1065179371.3f7d58eb8abb9@webmail.iperbole.bologna.it>
* 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