disabled_functions safe list
-
Greetings.
I am investingating the possibility of limiting the functions available to the php installs I control, via the .ini directive disable_functions. This would be done with the objective of improving site security (if you cannot exec, you cannot shell out, etc.) Obviously the breakage of potential of doing this is pretty large.
I wonder if a list of functions that can safely be disabled for wordpress and its most popular plugins/themes (say woocommerce and somesuch). Going about this by the disable/see what’s broken method is not high on my possible methodology list.
I see that the following:
disable_functions =exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_sourceseems to be pretty popular.
Advanced thanks.
The topic ‘disabled_functions safe list’ is closed to new replies.