From: Bruno Wolff III <bruno@wolff.to>
To: Duffey, Kevin <KDuffey@marketron.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Some basic info regarding postgresql?
Date: Thu, 11 Sep 2003 21:49:33 -0500
Message-ID: <20030912024933.GB24818@wolff.to> (raw)
In-Reply-To: <59007C908447154E9D9432A651876F377089D7@bmmail.buymedia.com>
References: <59007C908447154E9D9432A651876F377089D7@bmmail.buymedia.com>
On Thu, Sep 11, 2003 at 16:18:04 -0700,
"Duffey, Kevin" <KDuffey@marketron.com> 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.
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-admin@postgresql.org
Cc: bruno@wolff.to, KDuffey@marketron.com
Subject: Re: Some basic info regarding postgresql?
In-Reply-To: <20030912024933.GB24818@wolff.to>
References: <59007C908447154E9D9432A651876F377089D7@bmmail.buymedia.com> <20030912024933.GB24818@wolff.to>
* 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