Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 2252B9FB21E for ; Tue, 26 Sep 2006 16:02:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 57824-05 for ; Tue, 26 Sep 2006 16:02:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from omta14.mta.everyone.net (sitemail2.everyone.net [216.200.145.36]) by postgresql.org (Postfix) with ESMTP id 1BD269FA4AD for ; Tue, 26 Sep 2006 16:02:09 -0300 (ADT) Received: from dm25.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta14.mta.everyone.net (Postfix) with ESMTP id 93C6D40C48 for ; Tue, 26 Sep 2006 12:02:08 -0700 (PDT) X-Eon-Dm: dm25 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Message-Id: <20060926120206.CA2EEA96@resin02.mta.everyone.net> Date: Tue, 26 Sep 2006 12:02:06 -0700 From: "Randi Joy" Reply-To: To: Subject: ODBC driver exposing wrong tables and views (Windows) X-Eon-Sig: AQJGQntFGXkuBsMsRwEAAAAB,747933be07d2d91a9a56e0d238c5e0d5 X-Originating-Ip: [84.121.92.57] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/97 X-Sequence-Number: 8248 I have a postgres v. 8.1 database on Windows XP and ODBC driver 8.01.02.00. I have created roles with permissions to a few views. When I use Psql command line client, Postgres does impose the security restrictions so that the roles only see the views they are configured to access. Using ODBC in Access or Excel, they see all the tables and views. I found a similar post on the archives with the same question and only found this response: "As far as security models are concerned, a driver should never impose the security policy. The reason for that is very simple - bypassing the driver will give you access to things you thought were secure. A driver should give the user the maximal power available to her. If Postgresql allows a user to get a list of views that the user has no permission to access, then it's the driver's job to give this list..." That makes sense but Postgres is not allowing the same access permissions through psql, has anyone since then found a workaround or a solution to this? I would like to demo limited access of data in a table through the use of views and was hoping to do this through an ODBC connection. Thanks!