开发者

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

开发者 https://www.devze.com 2022-12-30 07:17 出处:网络
My team members don\'s 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开发者_JAVA技巧 or in addition to javascript validation?


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"


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.


It is definately good to use ValidationControls in asp.net. What justifications are you given for not using them ?

0

精彩评论

暂无评论...
验证码 换一张
取 消