How do I validate a web form?

I am building a website and would like to do some input checks on it.

What are the worst things you can throw at your web form to check if it won't break or handle errors?

Are there values ​​that can cause errors that should not be entered into the form?

+2


source to share


3 answers


Make sure you validate the data the user can send to you and that you properly escape all values ​​when you put them into the database or when you send it to any external program.



+2


source


XSS attacks should be prevented .

If your usage base is too large , check the site loading .



This site checks the web page for everything

http://tester.jonasjohn.de/

+3


source


Conduct load testing. Sanitize your entrances. Go to http://browsershots.org/ and see how the web form looks in different browsers.

+2


source







All Articles