Hiding passwords in PHP files
Hiding passwords in PHP files
От:
Bruce Young <hbrucey@yahoo.com>
Дата:
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/