safe_mode
trying to solve a security problem with the wrong tool. Because shared web hosts often host thousands of websites on a single server, safe_mode
was a convienent (and completely inappropriate) method to limit the damage that could be done with PHP.
It was an illusion more than anything else. Although PHP may have been protected by safe_mode
, what about other languages ββlike Python and Ruby? The correct method is to use the default permissions and Linux modules, such as suPHP , which run PHP as limited users.
source share