pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC Driver exposes tables and views that a user does not have permission to access.
3+ messages / 3 participants
[nested] [flat]

* ODBC Driver exposes tables and views that a user does not have permission to access.
@ 2005-05-26 19:39 Harris, Richard <Richard_Harris@adp.com>
  2005-05-27 07:28 ` Re: ODBC Driver exposes tables and views that a user does Shachar Shemesh <psql@shemesh.biz>
  0 siblings, 1 reply; 3+ messages in thread

From: Harris, Richard @ 2005-05-26 19:39 UTC (permalink / raw)
  To: pgsql-odbc

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?

Thanks,
Rich Harris



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ODBC Driver exposes tables and views that a user does
  2005-05-26 19:39 ODBC Driver exposes tables and views that a user does not have permission to access. Harris, Richard <Richard_Harris@adp.com>
@ 2005-05-27 07:28 ` Shachar Shemesh <psql@shemesh.biz>
  0 siblings, 0 replies; 3+ messages in thread

From: Shachar Shemesh @ 2005-05-27 07:28 UTC (permalink / raw)
  To: Harris, Richard <Richard_Harris@adp.com>; +Cc: pgsql-odbc

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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: ODBC Driver exposes tables and views that a user does
@ 2005-05-29 10:38 Edzard Pasma <edzard@volcanomail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Edzard Pasma @ 2005-05-29 10:38 UTC (permalink / raw)
  To: Shachar Shemesh <psql@shemesh.biz>; Harris, Richard <Richard_Harris@adp.com>; +Cc: pgsql-odbc

<html><body><P><FONT face="Arial, Helvetica, sans-serif" size=2></FONT><FONT style="FONT-FAMILY: arial,helvetica,sans-serif" size=2>Hello, </FONT></P>
<P><FONT style="FONT-FAMILY: arial,helvetica,sans-serif" size=2>I wanted to reduce the list for practical reasons and am happy to use the "system table prefix" for this purpose (this is on the properties page of the datasource).. Set it to something like: "</FONT><FONT style="FONT-FAMILY: arial,helvetica,sans-serif" size=2>dd_;sql;.*table;.*column;.*view;.*domain;.*role;.*trigger;.*constr;.*routine;.*schema;.*privileges;parameters;"</FONT></P>
<P><FONT style="FONT-FAMILY: arial,helvetica,sans-serif" size=2>Regards, Edzard Pasma<BR><BR></P></FONT><br>&nbsp;<br><hr>Tired of spam and viruses? Get a VolcanoMail account with SpamShield Pro and Anti-Virus technology! http://www.volcanomail.com/<br></body></html;



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-05-29 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-05-26 19:39 ODBC Driver exposes tables and views that a user does not have permission to access. Harris, Richard <Richard_Harris@adp.com>
2005-05-27 07:28 ` Re: ODBC Driver exposes tables and views that a user does Shachar Shemesh <psql@shemesh.biz>
2005-05-29 10:38 Re: ODBC Driver exposes tables and views that a user does Edzard Pasma <edzard@volcanomail.com>

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