![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveMy rant about unix home directories
From: Jamie <nospam@geniegate.com>
Date: Sat Apr 29 2006 - 12:20:10 CEST
Hello Newsgroup:
This is my little rant about security and why we have home directories.
You may choose to ignore it or disagree with it, that is your perogative
Many PHP packages and cgi scripts ask you to store database settings
Of course, it's secure, so long as configuration files are given
Wrong.
I think most of us have seen misconfigured web servers that send the
Time was, all the CGI programming FAQ's would warn you about this, they would
The general rule was, if you don't want it sent to the browser, don't put it on
Don't protect something with an .htaccess file.
Don't protect something with a .php|.cgi or .whatever
Just don't put critical bits of data on the web server. (unless you
But.. not any more, we've forgotten this ancient advice.
We now routinely ask people to edit some sort of .php file for database
It's convenient, it's what users have come to expect.
But... it is not secure.
We have home directories for this sort of thing and just I wish we'd get back
There. rant over. Sorry.. had to say it, I don't expect anyone to actually
You may go back to storing all your critical database settings in web space
Jamie
-- http://www.geniegate.com Custom web programming guhzo_42@lnubb.pbz (rot13) User Management SolutionsReceived on Mon May 1 03:07:19 2006 |