I'm just throwing this question out here as there hasn't been much
discussion recently on the topic of shared hosting. Most people, it seems,
just assume that it's secured. Companies don't sell services that's
insecured by design, right?
Those of us who know better know, of course, that that's not the case. Two
main challenges of sharing a server with other people are hiding your
database login/password and securing session files. Both of these are
necessitated by the fact that Apache runs as the same user for all virtual
hosts. Files that your scripts have access to, those of your server-mates
can access as well.
My questions are thus
(a) Is it possible to host a PHP site securely using a typical (read
"cheap") web hosting account?
(b) Is it possible to set up Apache so that virtual sites are protected from
one and other?
--
Project Wapache - http://wapache.sourceforge.net
discussion recently on the topic of shared hosting. Most people, it seems,
just assume that it's secured. Companies don't sell services that's
insecured by design, right?
Those of us who know better know, of course, that that's not the case. Two
main challenges of sharing a server with other people are hiding your
database login/password and securing session files. Both of these are
necessitated by the fact that Apache runs as the same user for all virtual
hosts. Files that your scripts have access to, those of your server-mates
can access as well.
My questions are thus
(a) Is it possible to host a PHP site securely using a typical (read
"cheap") web hosting account?
(b) Is it possible to set up Apache so that virtual sites are protected from
one and other?
--
Project Wapache - http://wapache.sourceforge.net
Comment