Should user input data validation occur server-side or
client-side? Why?

Answer Posted / zaw

Client side validation such as javascript can be bypassed.
It is not secured at all. But it can be used to provide
quick feedback to the users. For example, if the user enters
invalid username and jump to another field, show an error
message quickly with client side validation.

Sever side validation protect against against the malicious
user. Using both techniques can provide secrue, quicker
validation and compatibility .

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set the pane area to transparent of a scrollPane component.?

658


How can you display all validation messages in one control?

646


Are cookies stored on server or client?

622


Explain the difference between debug.write and trace.write? When should each be used?

655


What is difference between mvc and asp.net? : Asp.Net MVC

665






How to make paging concepts in datagrid in ASP.NET?

638


What is the mvc framework?

644


What is an asp.net validator? And, mention its types.

673


Explain an object, class and method.

650


What is the difference between Hash table and Array list?

480


What is the difference between GridView and Repeater controls in ASP.NET?

666


What is the difference between union and join?

651


What is the purpose of asp.net?

635


What is the difference between file-based dependency and key-based dependency?

681


Explain in what order a destructors is called.

677