Re: How secure is this?
| From: | jeremy brand | Date: | Fri, 29 Dec 2000 22:53:36 +0000 |
| Subject: | Re: How secure is this? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32220@lists.php.net to get a copy of this message | ||
It all depends on how secure your server is and how well maintained
and configured it is. This has nothing to do with PHP. And if you
don't understand system security, this is not the place to discuss it.
You may want to pick up a book on system administration.
:)
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"<body>" -- Quoted from Yahoo! homepage, http://www.yahoo.com
On Sat, 30 Dec 2000, Sefton wrote:
> Date: Sat, 30 Dec 2000 11:21:35 +1300
> From: Sefton <c.sefton@xtra.co.nz>
> To: php-general@lists.php.net
> Subject: [PHP] How secure is this?
>
> I have setup a page that accesses mysql. The page has to included the
> account login name and password to access the mysql database.
> Example...
>
> <?php
> $user = "username"; //actual username goes here
> $pass = "password"; //actual password goes here
>
> $db = mysql_connect("localhost", $user, $pass)OR DIE("Unable to connect
> to database");
> ?>
>
> If you get the idea.
>
> My concern is what if somebody can get to the source code. It could ruin me.
> I realise the php is a server side language, but is there any way that
> somebody could read this. If so how do i stop it? or is there another way to
> store my username & password that cannot be read.
>
> Please help
>
> Thanks
>
> Chris
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>