X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 092E453870 for ; Tue, 29 Mar 2005 18:55:20 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33391-04 for ; Tue, 29 Mar 2005 17:55:11 +0000 (GMT) Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id 1198553839 for ; Tue, 29 Mar 2005 18:55:10 +0100 (BST) Received: from 192.168.1.52 (fc1smp [66.93.38.87]) by hosting.commandprompt.com (8.12.8/8.12.8) with ESMTP id j2THplkh026413; Tue, 29 Mar 2005 09:51:47 -0800 Subject: Re: Ignoring the limited user-rights by using ODBC From: "Joshua D. Drake" Reply-To: jd@commandprompt.com To: "Goeke, Tobias" Cc: pgsql-odbc@postgresql.org In-Reply-To: <72F45784D0E25A429B21E156EAEFE5E3E54BD3@muenchen.ep.de> References: <72F45784D0E25A429B21E156EAEFE5E3E54BD3@muenchen.ep.de> Content-Type: text/plain Organization: Joshua D. Drake Date: Tue, 29 Mar 2005 09:55:07 -0800 Message-Id: <1112118907.27795.11.camel@jd2.commandprompt.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.034 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/109 X-Sequence-Number: 5127 On Thu, 2005-03-24 at 15:12 +0100, Goeke, Tobias wrote: > Hello, > > I created a new user in a new schema. > This user is only authorized to select the views in this schema. > If i look at the tables and views for this user by using "\d", there are > only a few views shown. > That means that the rights are correctly set. > > Now the real problem: > > If i connect to the database via obdc with this user, all schemes are shown. > So i am able to select all the tables and views e.g. in excel, although the > user isn't autorized. Have you verified that the user can actually select from the tables or can the user just see that the tables exist? Have you verified that you are actually connecting as the limited user? Sincerely, Joshua D. Drake > > I should only be able to select a few views, like it is configured in psql. > How can i constrain this? > > Can you help me? > > Thanks > Tobias > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org -- Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564 Custom programming, 24x7 support, managed services, and hosting Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG Reliable replication, Mammoth Replicator - http://www.commandprompt.com/