pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Goeke, Tobias <TGoeke@ElectronicPartner.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Ignoring the limited user-rights by using ODBC
Date: Tue, 29 Mar 2005 09:55:07 -0800
Message-ID: <1112118907.27795.11.camel@jd2.commandprompt.com> (raw)
In-Reply-To: <72F45784D0E25A429B21E156EAEFE5E3E54BD3@muenchen.ep.de>
References: <72F45784D0E25A429B21E156EAEFE5E3E54BD3@muenchen.ep.de>

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/




view thread (6+ messages)  latest in thread

Message-ID: <1112118907.27795.11.camel@jd2.commandprompt.com>
Permalink:  ../1112118907.27795.11.camel@jd2.commandprompt.com/
Also on:    postgresql.org/message-id/1112118907.27795.11.camel@jd2.commandprompt.com

 · 

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: jd@commandprompt.com, TGoeke@ElectronicPartner.de
  Subject: Re: Ignoring the limited user-rights by using ODBC
  In-Reply-To: <1112118907.27795.11.camel@jd2.commandprompt.com>
  References: <72F45784D0E25A429B21E156EAEFE5E3E54BD3@muenchen.ep.de> <1112118907.27795.11.camel@jd2.commandprompt.com>

* 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