Page 1 of 1
Per file / directory exclusion
Posted: Tue Jun 10, 2014 12:30 pm
by itport
Is there a way to make a "one time" exclusion for a certain php file that would be allowed to use "exec" or "shell_execute"?
Or per directory (I find this unsafe...)?
Thank you!
Re: Per file / directory exclusion
Posted: Tue Jun 10, 2014 2:19 pm
by scott
well if you're using per-domain PHP (fcgi, php panda, et) then you could have a php.ini specifc for just that user.
Re: Per file / directory exclusion
Posted: Tue Jun 10, 2014 2:41 pm
by itport
Thank you, Scott!
Brilliant answer! I do not have one, yet, but I will set it up after writing this reply!
Cheers!