diff options
Diffstat (limited to 'manifests/hardened.pp')
-rw-r--r-- | manifests/hardened.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/hardened.pp b/manifests/hardened.pp new file mode 100644 index 0000000..6439b94 --- /dev/null +++ b/manifests/hardened.pp @@ -0,0 +1,8 @@ +class php::hardened { + php::config { + 'allow_url_fopen' : value => 'Off'; + 'allow_url_include' : value => 'Off'; + 'disable_functions' : value => 'phpinfo, system, exec, shell_exec, passthru, proc_get_status, proc_open, popen, proc_close, proc_nice, proc_terminate, pcntl_exec, proc_open, show_source, dl, symlink, syslog, system_exec'; + #value => 'disable_functions = phpinfo, system, exec, shell_exec, passthru, proc_get_status, proc_open, popen, proc_close, proc_nice, proc_terminate, pcntl_exec, proc_open, curl_init, parse_ini_file, show_source, dl, symlink, syslog, mail, system_exec', + } +} |