Re: MySQL password protection?

From: Date: Wed, 06 Nov 2002 22:35:27 +0000
Subject: Re: MySQL password protection?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-23056@lists.php.net to get a copy of this message
Are you sure you can include an encoded file into a non-encoded one? I had forgotten about this option, but if you can find a worthwhile compiler/encoder/etc, then that's a solution. ---John Holmes... ----- Original Message ----- From: "SELPH,JASON (HP-Richardson,ex1)" <jason.selph@hp.com> To: "'1LT John W. Holmes'" <holmes072000@charter.net>; "William Trappeniers" <williamtrappeniers@wol.be>; <php-db@lists.php.net> Sent: Wednesday, November 06, 2002 5:30 PM Subject: RE: [PHP-DB] MySQL password protection? > actually you can make a .php file with your connection info, include it in > your .php files at the top and encrypt that one file (they don't need to see > it anyway). use a php encoder for the file with your login info in it. > > -----Original Message----- > From: 1LT John W. Holmes [mailto:holmes072000@charter.net] > Sent: Wednesday, November 06, 2002 4:16 PM > To: William Trappeniers; php-db@lists.php.net > Subject: Re: [PHP-DB] MySQL password protection? > > > > I was wondering if it is possible to protect my password to the > MySQL-server > > from being in a PHP-script. Now I can't do that, so everybody who gets to > > see my php-sourcecode also can see my (not protected/not encrypted) > > password. > > How can I change this? > > You can't, unless you want to put it in php.ini or a my.conf file... > > ---John Holmes... > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#23056) next »