Richard G
Verified User
I would like to keep our servers a bit safe so we for example a line like this:
Now for one user or 1 domain, I would like to remove some of these, but I'm not sure if this is the correct way to do it.
I found this:
Looking at the last line. Does this also work reversed, so instead of -adding- something, can something also be -removed- this way?
Suppose when I want to remove popen, exec, escapeshellarg and proc_open from this line, would it work like this:
and put this code in the custom2 block?
Or does this trick only work for adding things to this line.
Additionaly, do we still need those 4 things for security, so should we keep them in there anyway? I hear more people saying it doesn't do a lot anymore, and for Xenforo they like this enabled.
Code:
disable_functions = system,popen,shell_exec,exec,dl,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,show_source
Now for one user or 1 domain, I would like to remove some of these, but I'm not sure if this is the correct way to do it.
I found this:
Looking at the last line. Does this also work reversed, so instead of -adding- something, can something also be -removed- this way?
Suppose when I want to remove popen, exec, escapeshellarg and proc_open from this line, would it work like this:
Code:
php_admin_value[disable_functions] = system,shell_exec,dl,passthru,escapeshellcmd,proc_close,show_source
Or does this trick only work for adding things to this line.
Additionaly, do we still need those 4 things for security, so should we keep them in there anyway? I hear more people saying it doesn't do a lot anymore, and for Xenforo they like this enabled.