Re: Password in script
| From: | Monty | Date: | Fri, 19 Jul 2002 05:06:17 +0000 |
| Subject: | Re: Password in script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108434@lists.php.net to get a copy of this message | ||
The password code will be parsed out by PHP, so, it won't be viewable in the
HTML source delivered to the browser.
Some advice: set up a user for your database that has the minimal amount of
access necessary to perform queries or writing to the database and use that
in your scripts. Don't ever use your master MySQL username and password.
Monty
> From: amorndet@colorado.edu (Sailom)
> Newsgroups: php.general
> Date: Fri, 19 Jul 2002 10:03:02 +0700
> To: php-general@lists.php.net
> Subject: Password in script
>
> I am new to PHP and MySQL and never have experience in this area. I am
> writing a PHP script that connects to MySQL server. I have to put a
> password of MySQL into the PHP script. I think it may not be secured. What
> do you think? How can I make it more secure? Thanks.
>
>