Hi, I'd like to know what security precautions one should always implement in any cgi script. I know you must never trust the browser or the user, but what necessary steps do you need to take to safegaurd your server from malicious attempts. I'm interested in all viewpoints...whether simple scripts that never open a file on the server to full-blown shell scripts. I've read many books on the importance of this issue, and write accordingly...I hope. But, I would like to hear what others feel are the best parameters to follow when scripting. Meaning...what characters to allow, and/or string replacement and any other variables that one should take into consideration.
Thank you...
Thank you...