Hey all,
I've provided a form for a client of the company I work for that
basically emails the form data to an email address. Only a couple of
the many fields are required...noth ing too fancy.
However, the sys admin has made the following request:
"All fields, not just the required fields, need validation for syntax,
shell escape characters and string length. This is a security issue."
On no site have I ever had to deal with this being a "security
issuue"... I mean, is having escape characters in a form field really
a big deal? Or having an empty form field? At most, they get put
into a variable that's then sent in an email.
If I need to check for escape characters, what's the best way to
approach doing so? Thanks y'all!
-Mike
I've provided a form for a client of the company I work for that
basically emails the form data to an email address. Only a couple of
the many fields are required...noth ing too fancy.
However, the sys admin has made the following request:
"All fields, not just the required fields, need validation for syntax,
shell escape characters and string length. This is a security issue."
On no site have I ever had to deal with this being a "security
issuue"... I mean, is having escape characters in a form field really
a big deal? Or having an empty form field? At most, they get put
into a variable that's then sent in an email.
If I need to check for escape characters, what's the best way to
approach doing so? Thanks y'all!
-Mike
Comment