pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Deugau <vwebtest@webhart.deepnet.cx>
To: pgsql-admin@postgresql.org
Subject: DB Access Restrictions
Date: Wed, 14 Aug 2002 18:10:40 -0400
Message-ID: <3D5AD560.AEBD8AF8@webhart.deepnet.cx> (raw)

I'm finalizing the setup to be used to host customer DBs for a domain
hosting service, and I'd like to make sure I've got the access controls
straight:

In pg_hba.conf, I've seen and managed to figure out *most* of how access
to the various DBs can be controlled.  I'll be using the "password"
authentication, most likely with either sameuser or all:
  -> db of "sameuser" *REQUIRES* that the connecting user have the same
     name as the database they're trying to connect to - for ANYONE
     using this access method
  -> db of "all" lets the access control slip down a level to whether a
     user has provided the proper password.

Is there any way to simply specify a list of users for each db?  I
haven't been able to figure out if that's possible or not with
"password" authentication.  (ident is useless;  all DB access except
limited administrative control on my part will be via PHP across the
local UNIX socket- and ident will return "apache" if it returns anything
useful at all.)

Platform (at least initially) will be RedHat7.0/Postgres7.0;  but it
will be moving to RH7.3/Postgres7.2 "Real Soon Now".  (ie, as soon as
the new server is put together.)

-kgd
-- 
Money is overrated.



view thread (6+ messages)  latest in thread

Message-ID: <3D5AD560.AEBD8AF8@webhart.deepnet.cx>
Permalink:  ../3D5AD560.AEBD8AF8@webhart.deepnet.cx/
Also on:    postgresql.org/message-id/3D5AD560.AEBD8AF8@webhart.deepnet.cx

 · 

reply

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: vwebtest@webhart.deepnet.cx
  Subject: Re: DB Access Restrictions
  In-Reply-To: <3D5AD560.AEBD8AF8@webhart.deepnet.cx>
  References: <3D5AD560.AEBD8AF8@webhart.deepnet.cx>

* 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