Re: Where can I put the Password
| From: | Chris Moyer | Date: | Tue, 30 May 2000 20:54:59 +0000 |
| Subject: | Re: Where can I put the Password | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-114@lists.php.net to get a copy of this message | ||
On Tue, May 30, 2000 at 02:47:49PM -0700, MK wrote:
> If I hardwire the password and username for my MySQL database
> in the PHP script that is on my web server, does that pretty
> much mean that anybody can get into my database directly?
>
> If so, how do I go about being able to access my database
> without the security problem?
>
Hmmm... Are you running your own webserver, or hosting with someone
else? If your file is on _your_ webserver, then no one accessing the
page, through thte web, would be able to see the passwords, because
they will be in a file with and extension thatis parsed by the PHP engine.
-- Chris Moyer -- cmoyer@chekinc.com --
PHP Developer -- Chek.com