jumbaeric / PhpInfoGuard

PhpInfoGuard is a PHP package to globally protect the `phpinfo()` command, ensuring it can only be executed under certain conditions.
1 stars 0 forks source link

disable_functions #1

Open henrywood opened 3 months ago

henrywood commented 3 months ago

Isn't this whole project basically the same as this oneliner (in a php ini file):

disable_functions = "phpinfo"

?

jumbaeric commented 1 month ago

Not really, the difference is the one liner on php ini completely disables phpinfo function on the web server, this project keeps the phpinfo function enabled on the web server while limiting access to only authorised users.