Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id AA8E79FB33B for ; Mon, 28 May 2007 00:53:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 60726-02 for ; Mon, 28 May 2007 00:52:59 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from bay0-omc3-s18.bay0.hotmail.com (bay0-omc3-s18.bay0.hotmail.com [65.54.246.218]) by postgresql.org (Postfix) with ESMTP id B620E9FB341 for ; Mon, 28 May 2007 00:53:05 -0300 (ADT) Received: from hotmail.com ([207.46.11.112]) by bay0-omc3-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sun, 27 May 2007 20:53:04 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 27 May 2007 20:53:04 -0700 Message-ID: Received: from 207.46.11.123 by by123fd.bay123.hotmail.msn.com with HTTP; Mon, 28 May 2007 03:53:01 GMT X-Originating-IP: [59.160.193.34] X-Originating-Email: [aroravishal22@hotmail.com] X-Sender: aroravishal22@hotmail.com In-Reply-To: <830906.7345.qm@web31801.mail.mud.yahoo.com> From: "Vishal Arora" To: msramsey22@yahoo.com, pgsql-admin@postgresql.org Subject: Re: User DB Access - RESTRICTIONS Date: Mon, 28 May 2007 03:53:01 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 28 May 2007 03:53:04.0681 (UTC) FILETIME=[B1EE3990:01C7A0DB] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.056 tagged_above=0 required=5 tests=AWL=-0.667, BAYES_40=-0.185, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, MSGID_FROM_MTA_HEADER=0 X-Spam-Level: * X-Archive-Number: 200705/286 X-Sequence-Number: 25606 >From: Marsha Ramsey >To: pgsql-admin@postgresql.org >Subject: [ADMIN] User DB Access - RESTRICTIONS >Date: Fri, 25 May 2007 07:49:01 -0700 (PDT) > >Hello all, > >How to make a postgres user have access to only one database, Configure it in pg_hba.conf file with database name and user. >and to set that access as read only? Grant Select permission on that DB. > >Thanks...Marsha > > > >--------------------------------- >Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. _________________________________________________________________ Make every IM count. Download Messenger and join the i’m Initiative now. It’s free. http://im.live.com/messenger/im/home/?source=TAGHM_MAY07