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, 2019 in Cyber Security & Ethical Hacking by Yogi
80 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, 2019 by Karuna

Related Questions In Cyber Security & Ethical Hacking

+1 vote
1 answer

When i am installing setoolkit this error is appear?

Looks like a permission issue. Try executing ...READ MORE

answered Apr 6 in Cyber Security & Ethical Hacking by Sirajul
• 57,940 points
103 views
0 votes
1 answer

What should I learn for mobile phones and social media hacking??

Hello, @Arun, It is important to have a ...READ MORE

answered Sep 14 in Cyber Security & Ethical Hacking by Gitika
• 37,660 points
24 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What programming languages should a ethical hacker know?

An ethical hacker is a  computer expert, who specializes ...READ MORE

answered Feb 3 in Cyber Security & Ethical Hacking by Sirajul
• 57,940 points
325 views