Hiding passwords in PHP files

Поиск
Список
Период
Сортировка
От Bruce Young
Тема Hiding passwords in PHP files
Дата
Msg-id 20030301000738.4871.qmail@web10402.mail.yahoo.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Cross-database references
Следующее
От: Laurette Cisneros
Дата:
Сообщение: Re: server won't shutdown