[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Best practice for allowing access to a postgres db



Hi,

I got another question concerning postgresql and best practice on
how create a database user for a web applications.
What I got is a php+postgresql web application. What I like
to do is creating a database and a database user with exclusive
rights for the database.
The default authentication method for users accessing postgresql
is 'ident, sameuser'. If I understand that propperly, then I need
a unix user named like the database.
Actually, I don't want to create a system user. What is the best
way to go? Modify pg_ident.conf or pg_hba.conf? Something else?

  Uwe
-- 
  MMK GmbH, Universitaetsstr. 11, 58097 Hagen
  Uwe.Steinmann@mmk-hagen.de
  Tel: +2331 840446    Fax: +2331 843920

Attachment: signature.asc
Description: Digital signature


Reply to: