Hi,

You can

1. set the permissions to 700.
2. chown of the script to nobody/wwwuser or whoever is the user used for
the daemon httpd.

You need root access to do this.

  Petr Svacek
-------------------------------------------------------------------------
|<[EMAIL PROTECTED]>                   tel. +420606/422384     |
|<http://marian.fsik.cvut.cz/~svacek>                +4202/24357215     |
|<[EMAIL PROTECTED]>                                        |
|                                                                       |
-------------------------------------------------------------------------

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

> Hello.
>
> 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).
>
> If a user get access to the directory  (FTP) he/she will read the password
> and then get access to the MySQL Databases.
>
> Is there a good way to protect the passwords ?
>
>
> Regards
>
> Claudemir F. Martins
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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