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

Answers were Sorted based on User's Feedback



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

Answer / sapna

User input data validation should occur on client side.
Then for each transaction there is no need to contact with
server thereby transactions decreases and efficiency
increases.

Is This Answer Correct ?    19 Yes 8 No

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

Answer / manish singh(amalga fusion)

user input data validation can occur both side means client
side as well as server side. but generally validated on
client side because in this validation no any sever
resources used for validation. So it provides less
overhead on server and application performance become fast
rather than server side. if we validate user input data on
server side every time data check on server so the
performance of application become slow down.

Is This Answer Correct ?    17 Yes 7 No

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

Answer / 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

More ASP.NET Interview Questions

Explain in what order a destructors is called.

0 Answers  


What is the main difference between a static page and a dynamic page?

2 Answers  


What is the difference between response.redirect and server.transfer, how to choose one among the other?

3 Answers   247Customer,


What are the advantages of the code-behind feature?

0 Answers  


what are the security certificates used in webservices?

0 Answers  






How many column in table of sql server?

3 Answers  


What is cyclomatic complexity and why is it important?

1 Answers  


Is it possible to disable the minimized icon of a popup window using window.open. Not using iframe concept?

3 Answers   AFAS, Take United,


What is an Interface and What is an Abstract Class?

3 Answers  


What is the relationship(in oops) between codebehind and inline code(.aspx to .aspx.cs)??? explain

4 Answers   Mind Tree,


What methods are fired during the page load?

3 Answers  


Write some code using interfaces, virtual methods, and an abstract class`

0 Answers  


Categories