pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Randi Joy <rjoy@randijoy.com>
To: pgsql-odbc@postgresql.org
Subject: ODBC driver exposing wrong tables and views (Windows)
Date: Tue, 26 Sep 2006 12:02:06 -0700
Message-ID: <20060926120206.CA2EEA96@resin02.mta.everyone.net> (raw)

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!



view thread (2+ messages)  latest in thread

Message-ID: <20060926120206.CA2EEA96@resin02.mta.everyone.net>
Permalink:  ../20060926120206.CA2EEA96@resin02.mta.everyone.net/
Also on:    postgresql.org/message-id/20060926120206.CA2EEA96@resin02.mta.everyone.net

 · 

reply

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-odbc@postgresql.org
  Cc: rjoy@randijoy.com
  Subject: Re: ODBC driver exposing wrong tables and views (Windows)
  In-Reply-To: <20060926120206.CA2EEA96@resin02.mta.everyone.net>
  References: <20060926120206.CA2EEA96@resin02.mta.everyone.net>

* 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