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:[EMAIL PROTECTED]]
Sent: 04 September 2001 17:20
To: Lars B. Jensen
Cc: Rick Emery; rbtree; [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

---
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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to