RE: [PHP-DB] How can you hide database login passwd in your script?

From: Date: Tue, 04 Sep 2001 16:37:57 +0000
Subject: RE: [PHP-DB] How can you hide database login passwd in your script?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12147@lists.php.net to get a copy of this message
I'm confused. You password protect a directory so that no one can get to it. And then you can just link into a folder in that directory? Why doesn't a password dialog box come up? Surely someone could write a malicious script and have it link into the same file to get passwords and stuff needed to ruin your database? - seb -----Original Message----- From: grant [mailto:grant@amadensor.com] Sent: 04 September 2001 17:20 To: Lars B. Jensen Cc: Rick Emery; rbtree; php-db@lists.php.net Subject: RE: [PHP-DB] How can you hide database login passwd in your script? > The 600$ alternative > http://www.zend.com/store/products/zend-developer-suite.php > > / LJ > $0 option: Put your user ID and password in a config file, then give only the webserver user access to it. Read the config file to make it work. This also allows easy switching between test and production environments. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001

« previous php.db (#12147) next »