Re: Password in script
| From: | Tyler Longren | Date: | Fri, 19 Jul 2002 03:20:52 +0000 |
| Subject: | Re: Password in script | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108416@lists.php.net to get a copy of this message | ||
Yes, good point Anas. Make sure that you have mysql set up right. Make
sure the root mysql user has a password set and that people can't
connect from "%".
tyler
On Thu, 18 Jul 2002 20:19:05 -0700 (PDT)
Anas Mughal <anasmughal@yahoo.com> wrote:
>
> Also, allow MySQL connections only from your server.
>
> Tyler Longren <tyler@captainjack.com> wrote: It's fine. There's no
> other way to do it really. Somebody would have
> to be able to see the source to the php file before they could see the
> password for mysql. They won't get it just by viewing the webpage
> that's already been parsed by php.
>
> --
> Tyler Longren
> Captain Jack Communications
> tyler@captainjack.com
> www.captainjack.com
>
>
>
> On Fri, 19 Jul 2002 10:03:02 +0700
> "Sailom" wrote:
>
> > 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.
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes