Link to home
Start Free TrialLog in
Avatar of brgdotnet
brgdotnetFlag for United States of America

asked on

How to validate a comment section of a web form.

I am validating the controls on a web form. However I have a comment box (Text box control) that allows someone to enter up to 2000 characters. I need to prevent someone from entering in potential scripts for hacking the system. How should I validate the comment section of the form? Should I explicitly search for characters like "<\"

If anyone has any good suggestions on this, please let me know.
ASKER CERTIFIED SOLUTION
Avatar of Wayne88
Wayne88
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial