Chapter 24. PHP Security
PHP is undoubtedly a very powerful server-side scripting language, but with great power comes great responsibility. In this lesson you will learn how to use PHP's Safe Mode to make sure that some of the potentially dangerous features of PHP are locked down.
PHP's Safe Mode attempts to provide a degree of basic security in a shared environment, where multiple user accounts exist on a PHP-enabled web server.
When a web server is running PHP in Safe Mode, some functions are disabled completely, and others are available with limited functionality.
Restrictions Enforced by Safe Mode
Functions that attempt to access the filesystem have restricted functionality in Safe Mode. The web server process runs under the same user ...