Recommend this page to a friend! |
Classes of Eric Jumba | PHPInfo Guard | README.md | Download |
|
DownloadPhpInfoGuardPhpInfoGuard is an innovative PHP package designed to enhance security by globally protecting the phpinfo() command. This package ensures that the phpinfo() function can only be executed under controlled conditions, preventing unauthorized access to sensitive PHP configuration details. Ideal for developers and system administrators looking to secure their PHP environments, PhpInfoGuard provides a simple yet powerful solution to a common security concern. InstallationTo install PhpInfoGuard, use Composer:
Upon installation, the package will automatically update your php.ini file to include the necessary auto_prepend_file directive, streamlining the setup process. Features
ConfigurationSet the initial state of the phpinfo() function in the config/phpinfo_guard.php file:
UsageTo control the execution of the phpinfo() function, use the following commands:
Security Benefits
Keywords and Tags
ConclusionPhpInfoGuard is an essential tool for any PHP developer or system administrator focused on enhancing the security of their PHP environment. By providing robust protection for the phpinfo() function, this package helps safeguard against unauthorized access and potential security threats. Install PhpInfoGuard today to secure your PHP configurations effectively. |