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

Any disadvantages in Dataset and in reflection ?

3010


What is a viewstate?

750


What is the difference between a cookie and a pixel?

659


Can viewstate be accessed in another page?

730


Explain the difference between web user control and web custom control?

733


How asp.net mvc differs from asp.net web forms? : asp.net mvc

770


What does it mean your session has timed out?

724


What are the new features added from ASP to ASP.NET?

792


How does u call and execute a sp in .net?

741


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

856


What is difference between Fragment Caching and Page Caching in ASP.NET?

796


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

2034


What is OSI layer? Explain different layers.

795


What are the Types of authentications in IIS

798


Describe the master page.

743