X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 87A99D1B4E6 for ; Fri, 12 Sep 2003 02:43:11 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 66017-09 for ; Thu, 11 Sep 2003 23:43:04 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id A0E18D1B500 for ; Thu, 11 Sep 2003 23:42:59 -0300 (ADT) Received: (qmail 25028 invoked by uid 500); 12 Sep 2003 02:49:33 -0000 Date: Thu, 11 Sep 2003 21:49:33 -0500 From: Bruno Wolff III To: "Duffey, Kevin" Cc: pgsql-admin@postgresql.org Subject: Re: Some basic info regarding postgresql? Message-ID: <20030912024933.GB24818@wolff.to> Mail-Followup-To: "Duffey, Kevin" , pgsql-admin@postgresql.org References: <59007C908447154E9D9432A651876F377089D7@bmmail.buymedia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59007C908447154E9D9432A651876F377089D7@bmmail.buymedia.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/202 X-Sequence-Number: 10290 On Thu, Sep 11, 2003 at 16:18:04 -0700, "Duffey, Kevin" wrote: > > Security is another biggie. I see that you can limit who can access it based on ip, user name, etc. What other levels of security are there? Can table permissions be set on an individual user, or a group of users? What about row permissions or column permissions? What other ways of security should we be concerned with in regards to the DB itself (deployed on linux of course)? You can limit access to individual databases in a cluster by ip address or username (both postgres username and host username). This is done in pg_hba.conf. You can also limit access to objects by postgres username and group. This includes databases, schemas, tables, views, functions, sequences and probably a few other things. You can't directly restrict access to rows or columns of a table. You can create views that can only be used by some users or groups that restrict access to rows and or columns of a table.