DEV Community

Discussion on: Input Validation: Client-side or Server-side?

Collapse
 
ben profile image
Ben Halpern

why not both

Collapse
 
hemant profile image
Hemant Joshi

I use bothπŸ™„,
Sigin Signup and Payment related stuff are with Server Side and
Comment/ contact with cleint side validation😁....

I feel more safe....

Collapse
 
joelbonetr profile image
JoelBonetR πŸ₯‡

This makes your comment/contact section easily hackable... You need server side validation always, client side is optional and for usability, performance and economic reasons

Thread Thread
 
hemant profile image
Hemant Joshi

Yeah..
Never built such large user apps. so I have less exp with these things for sure will get into Server-side rather than client

Thanks