Is there a list of PHP functions that should be disabled?

LiteCart Fan
از کشور United States
عضو از دسامبر 2023

For example, in php.ini I want to add
disable_functions = exec,system  (and others)

Is there a recommended list that I can use with litecart?

Thanks!

tim
Founder
از کشور Sweden
عضو از مهٔ 2013
tim

No nothing needs to be disabled. I would say only mistrustful web hosts disable these features. Industry standard cPanel hosts don't disable any specific functions. If an attacker really wants to get in, they have their ways of getting in one way or the other. I don't think disable_functions would provide much more security. It might slow "you" down more than the attacker. Someone is probably going to say I'm wrong. But that's what I think.

شما
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.