Re: hiding db password
| From: | mike karthauser | Date: | Thu, 12 Jun 2003 14:53:40 +0000 |
| Subject: | Re: hiding db password | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28579@lists.php.net to get a copy of this message | ||
on 12/6/03 3:48 pm, CPT John W. Holmes at holmes072000@charter.net wrote:
> From a web server perspective, though, this is
> "safer" because if the web server ever broke and started serving PHP pages
> as plain text (been there, done that), then at least no one can get to your
> include file through your web server.
That is what I meant by more secure. Putting files below webroot prevents
webusers from getting at them.
--
Mike Karthauser
Managing Director - Brightstorm Ltd
Email >> mikek@brightstorm.co.uk
Web >> http://www.brightstorm.co.uk
Tel >> 0117 9426653 (office)
07939 252144 (mobile)
Snailmail >> Unit 8, 14 King Square,
Bristol BS2 8JJ