From: Chris Hoover <revoohc@sermonaudio.com>
To: Jeff Eckermann <jeff_eckermann@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Help with ODBC problem
Date: Fri, 04 Jun 2004 16:39:30 -0400
Message-ID: <40C0DE02.2020805@sermonaudio.com> (raw)
In-Reply-To: <20040604200515.17790.qmail@web20804.mail.yahoo.com>
References: <20040604200515.17790.qmail@web20804.mail.yahoo.com>
Jeff Eckermann wrote:
> Create a separate schema for each user, or class of
>
>users, that you want to have limited access. Put all
>of the objects that you want them to have access to
>into the relevant schema(s). Then, in the "connect
>settings" box in the DSN, enter the command "set
>search_path to myschema, public;" (or leave out public
>if you want). If you are connecting using code,
>rather than a DSN, then just issue that command
>directly after connecting.
>
>That will restrict users to seeing only those objects
>which you want them to see. If you revoke their
>access permissions to the public schema, and only
>grant permissions on the one special schema, plus
>tables etc., then you will lock the whole thing up
>tight.
>
>
Ok, I created a new schema and put my view into it giving my reporting
group access to this view only. I also set the search_path in the odbc
driver and as an alter user, but I am still seeing a full db catalog
when I connect to my db via odbc. (link trying to link a table in Access).
Any further ideas? I really need the end users to only see the specific
views/tables I grant them access to when they are an area where they are
able to choose tables/views to view.
Thanks,
Chris
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: revoohc@sermonaudio.com, jeff_eckermann@yahoo.com
Subject: Re: Help with ODBC problem
In-Reply-To: <40C0DE02.2020805@sermonaudio.com>
References: <20040604200515.17790.qmail@web20804.mail.yahoo.com> <40C0DE02.2020805@sermonaudio.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