X-Original-To: pgadmin-support-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4804BD1B4FE; Fri, 3 Oct 2003 11:05:40 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 19950-09; Fri, 3 Oct 2003 08:04:54 -0300 (ADT) Received: from accursio.iperbole.bologna.it (obelix.iperbole.bologna.it [213.174.176.145]) by svr1.postgresql.org (Postfix) with ESMTP id D8E62D1B548; Fri, 3 Oct 2003 08:04:50 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by accursio.iperbole.bologna.it (Postfix) with ESMTP id ABCA84A5B13; Fri, 3 Oct 2003 13:09:31 +0200 (CEST) Received: from 62.101.98.215 ([62.101.98.215]) by webmail.iperbole.bologna.it (IMP) with HTTP for ; Fri, 3 Oct 2003 13:09:31 +0200 Message-ID: <1065179371.3f7d58eb8abb9@webmail.iperbole.bologna.it> Date: Fri, 3 Oct 2003 13:09:31 +0200 From: cad0022@iperbole.bologna.it To: pgsql-admin@postgresql.org, pgsql-general@postgresql.org, pgsql-odbc@postgresql.org, pgsql-hackers@postgresql.org, pgadmin-hackers@postgresql.org, pgadmin-support@postgresql.org Subject: How to avoid users from viewing functions code MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=3.2 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS, NO_REAL_NAME, SUSPICIOUS_RECIPS, USER_AGENT_IMP X-Spam-Level: *** X-Archive-Number: 200310/46 X-Sequence-Number: 2173 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