pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shachar Shemesh <psql@shemesh.biz>
To: Harris, Richard <Richard_Harris@adp.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC Driver exposes tables and views that a user does
Date: Fri, 27 May 2005 10:28:20 +0300
Message-ID: <4296CC14.6030708@shemesh.biz> (raw)
In-Reply-To: <E2F600719FA6FF438A680A22A00DA43C0696BC99@EXCHANGEDS01.ds.ad.adp.com>
References: <E2F600719FA6FF438A680A22A00DA43C0696BC99@EXCHANGEDS01.ds.ad.adp.com>

Harris, Richard wrote:

>Hi,
>
>PostgreSQL server 7.4.2
>psqlODBC driver: 7.03.02.00
>
>I created a database user in a postgresql cluster. I granted that user
>SELECT permission to a few views. I created a DSN for that user to
>connect to postgreSQL from a Windows PC. When I use the DSN in MS Access
>to link to the views, the Link Tables list includes many tables and
>views that the user has no permission to access. Is this a defect in the
>ODBC driver? Is there a work around for this?
>  
>
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.

If you think this security consideration is wrong, the place to complain 
about that is pgsql-hackers or pgsql-users. There is nothing ODBC can do 
about this.

>Thanks,
>Rich Harris
>  
>
       Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html




view thread (3+ messages)  latest in thread

Message-ID: <4296CC14.6030708@shemesh.biz>
Permalink:  ../4296CC14.6030708@shemesh.biz/
Also on:    postgresql.org/message-id/4296CC14.6030708@shemesh.biz

 · 

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: psql@shemesh.biz, Richard_Harris@adp.com
  Subject: Re: ODBC Driver exposes tables and views that a user does
  In-Reply-To: <4296CC14.6030708@shemesh.biz>
  References: <E2F600719FA6FF438A680A22A00DA43C0696BC99@EXCHANGEDS01.ds.ad.adp.com> <4296CC14.6030708@shemesh.biz>

* 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