X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 62194536F9 for ; Thu, 31 Mar 2005 11:06:15 +0100 (BST) 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 74273-06 for ; Thu, 31 Mar 2005 10:06:09 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by svr1.postgresql.org (Postfix) with ESMTP id 827BC5365F for ; Thu, 31 Mar 2005 11:06:08 +0100 (BST) Received: by wproxy.gmail.com with SMTP id 68so575742wri for ; Thu, 31 Mar 2005 02:06:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=qMUwP1o88Fo9R2rqGyYQOUDZY6zGEj1ZxggocToPEn3DQFi15kPN5MOHoBlE8hhy6oVE4ddKhyX6FeQUPchrgDwoSQYuP36chAgS9dGHwj9hi+RJcH8PEIhiSzfbqgaD88lf+OjJ5zr9+70tj9zRJZ0ni0rB+/bpr2o0TRNA8/A= Received: by 10.54.98.5 with SMTP id v5mr448300wrb; Thu, 31 Mar 2005 02:06:11 -0800 (PST) Received: by 10.54.40.4 with HTTP; Thu, 31 Mar 2005 02:06:11 -0800 (PST) Message-ID: <621eda8a05033102066292993b@mail.gmail.com> Date: Thu, 31 Mar 2005 12:06:11 +0200 From: Zouari Fourat Reply-To: Zouari Fourat To: Michael Fuhr Subject: Re: problems with user rights Cc: John DeSoi , pgsql-admin@postgresql.org In-Reply-To: <20050330164731.GB35744@winnie.fuhr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <621eda8a050328053256ac576b@mail.gmail.com> <621eda8a0503300043711fdaf3@mail.gmail.com> <2EE9A7E0-A11C-11D9-A2E3-000A95B03262@pgedit.com> <621eda8a0503300717ca9a63a@mail.gmail.com> <20050330164731.GB35744@winnie.fuhr.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.218 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/501 X-Sequence-Number: 16999 anyone can help me with a sample of pg_hba.conf On Wed, 30 Mar 2005 09:47:31 -0700, Michael Fuhr wrote: > On Wed, Mar 30, 2005 at 11:14:38AM -0500, John DeSoi wrote: > > On Mar 30, 2005, at 10:17 AM, Zouari Fourat wrote: > > > > >is it really secure in a shared hosting environnement case ? > > >do you advise me to offer pgsql in a shared hosting ? > > > > You can do all of the necessary things to control access to the > > databases. > > ...like using pg_hba.conf to control who's allowed to connect to > each database. If you don't want people to query the system catalogs > for a particular database, then don't allow them to connect to that > database (there are a few shared catalogs that anybody can query, > however). > > The db_user_namespace configuration variable might help with managing > access, but the documentation says that it's "intended as a temporary > measure until a complete solution is found," so caveat administrator. > > -- > Michael Fuhr > http://www.fuhr.org/~mfuhr/ >