pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave <dave@hawk-systems.com>
To: pgsql-php@postgresql.org
Subject: Security - local(TRUST) and php/perl access
Date: Fri, 19 Apr 2002 10:01:14 -0400
Message-ID: <DBEIKNMKGOBGNDHAAKGNMEMIOCAA.dave@hawk-systems.com> (raw)

Currently we TRUST local users so pretty much any user can access any database
from the shell.
When PHP or Perl(DBI) accesses the postgres database, can they simply specify
any userid and database set as a local user would, or are they restricted to the
"host sameuser 0.0.0.0 0.0.0.0 password" setting in pg_hba.conf

Dave




view thread (3+ messages)  latest in thread

Message-ID: <DBEIKNMKGOBGNDHAAKGNMEMIOCAA.dave@hawk-systems.com>
Permalink:  ../DBEIKNMKGOBGNDHAAKGNMEMIOCAA.dave@hawk-systems.com/
Also on:    postgresql.org/message-id/DBEIKNMKGOBGNDHAAKGNMEMIOCAA.dave@hawk-systems.com

 · 

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-php@postgresql.org
  Cc: dave@hawk-systems.com
  Subject: Re: Security - local(TRUST) and php/perl access
  In-Reply-To: <DBEIKNMKGOBGNDHAAKGNMEMIOCAA.dave@hawk-systems.com>
  References: <DBEIKNMKGOBGNDHAAKGNMEMIOCAA.dave@hawk-systems.com>

* 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