Hiding passwords in PHP files - Mailing list pgsql-admin

From Bruce Young
Subject Hiding passwords in PHP files
Date
Msg-id 20030301000738.4871.qmail@web10402.mail.yahoo.com
Whole thread Raw
List pgsql-admin
Hi all,
How can i protect the password in the php file from being read by other OS
users.
i tried chmod but it will not work if "other" does not have read privileges to
the  file.
is there another way around this?  i will have a few OS users on my box and i
dont want them to psql -U superuser dbname and do whatever, so i fixed that in
the pg_hba.conf file to request a password..  but now i need to supply a
password in the .php files to connect.
tried messing around with ident, could not get it working. gonna try again when
i come home tonight.. any suggestions?

thanks for any help

  - bruce

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

pgsql-admin by date:

Previous
From: Robert Treat
Date:
Subject: Re: Cross-database references
Next
From: Laurette Cisneros
Date:
Subject: Re: server won't shutdown