When should I prefer Server-side validation checks over Client-side validation checks?

0 votes
Hi. Can someone tell me when I should prefer Server-side checks? I've been building web-applications for a few months now and I use client-side checks and I think that does the job. But I read somewhere that server-side checks increase security. Can someone explain how?
Aug 23 in Cyber Security & Ethical Hacking by Yogi
24 views

1 answer to this question.

0 votes

Yes, it is true that server-side checks increase security and the reason behind this is that the user can modify client-side data. Take an example of a web application that only does client-side checks. In this case, proxy interceptors can be used to capture the data after validation and these interceptors can be used to modify the requests and change the value to invalid values. If you rely only on client-side checks, there is a chance of the server receiving invalid inputs. But there are some cons of using server-side checks over client-side checks. It is suggested to use both the checks for max security.

answered Aug 23 by Karuna

Related Questions In Cyber Security & Ethical Hacking

0 votes
1 answer

How can I ping my default gateway?

Using the following command you can find ...READ MORE

answered Mar 22 in Cyber Security & Ethical Hacking by Priyaj
• 56,900 points
72 views
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer