On Mon, 30 Jul 2001, Claudemir F. Martins wrote:

> How can I made a Database secure by using an PHP Interface ?
>
> I Mean .....If I use a PHP interface there are passwords included in the PHP
> config files in the directory that must be readable for all (755).
> <snip>
> Is there a good way to protect the passwords ?

Somebody already suggested one way. Another way is to store your passwords
in an included file which lives somewhere outside your www directory, such
as $HOME/inc

Another way is to use php-cgiwrap and chmod your scripts to 700.

HTH



David Mintz
Spanish Interpreter
US District Court, Southern District of New York
Web Design & Hosting http://www.dmintzweb.com/
Personal http://www.panix.com/~dmintz/



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to