X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6CCD3D1B1DA for ; Fri, 4 Jun 2004 17:40:27 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14387-07 for ; Fri, 4 Jun 2004 20:40:25 +0000 (GMT) Received: from mail.astudios.com (unknown [66.49.77.3]) by svr1.postgresql.org (Postfix) with ESMTP id 13986D1B1DF for ; Fri, 4 Jun 2004 17:40:22 -0300 (ADT) thread-index: AcRKdMKpCZq8Eae4RbqG59/vhCBn8Q== Received: from [10.4.2.252] ([66.194.26.150]) by mail.astudios.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 4 Jun 2004 16:44:41 -0400 Message-ID: <40C0DE02.2020805@sermonaudio.com> Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132 Date: Fri, 04 Jun 2004 16:39:30 -0400 From: "Chris Hoover" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jeff Eckermann" Cc: Subject: Re: Help with ODBC problem References: <20040604200515.17790.qmail@web20804.mail.yahoo.com> In-Reply-To: <20040604200515.17790.qmail@web20804.mail.yahoo.com> Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 04 Jun 2004 20:44:41.0484 (UTC) FILETIME=[C29B5CC0:01C44A74] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=OFFERS_ETC X-Spam-Level: X-Archive-Number: 200406/6 X-Sequence-Number: 4076 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. >=20=20 > Ok, I created a new schema and put my view into it giving my reporting=20 group access to this view only. I also set the search_path in the odbc=20 driver and as an alter user, but I am still seeing a full db catalog=20 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=20 views/tables I grant them access to when they are an area where they are=20 able to choose tables/views to view. Thanks, Chris