Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My team members don't support the use of validation controls that are available in asp.net (for web application)

My team members don's support the use of validation controls that are available in asp.net (for web application).

What are arguments in favor of validators instead of or in addition to javascript validation?

like image 928
Ayyappan Anbalagan Avatar asked May 13 '10 05:05

Ayyappan Anbalagan


2 Answers

Javascript validation only runs on the client. It's easy for a junior level programmer to write his own user interface that bypasses all of the Javascript validation you put in place.

You need server-side validation to ensure this type of thing does not happen.

"Never trust a client application"

like image 164
Eric J. Avatar answered Oct 04 '22 11:10

Eric J.


When you say validators you really mean server side validation right ? It is pretty much answered in this thread JavaScript ClientSide vs. ServerSide Validation

You MUST include server side validation if you want to protect your app from hackers.

like image 25
Khan Avatar answered Oct 04 '22 10:10

Khan