Hi.
I know keeping security in mind is the first and most important step toward properly stable and secure code. However, my employer wants to offer PHP/MySQL as a platform for our hosting clients.
So, I've been charged with making this safe. We absolutely (lesson learned hard way) cannot trust our clients to write good code. I need to find a way to minimize risk.
Obviously, my knee-jerk reaction was to just audit any code, but that would be resource (time) expensive and still it would be difficult to keep up with every little thing.
Short of mod'ing the source and recompiling is there any way to disable or displace the exec(), system(), etc. functions?
Any info. I can find focusses on writing good code, and rightly so, but my situation makes that less reliable. Any advice would be appreciated greatly.
Thanks,
Frank
"May your error messages forever be explicit" --Coda