DEV Community

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

Collapse
 
akshaykhale1992 profile image
Akshay Khale

Well, actually Both.

Why not, only Server-side???

  • It will be slower and not realtime
  • Every time requesting the server will be an overhead for the server.

Why not, only Client-side???

  • Browsers can be set to disable Validations.
  • Scripts can be manipulated in the browser.