Back-end Validation

Learn about prepared statements for database operations, input sanitization, and validation.

No matter how complex of a client-side validation we perform, server-side validation is just as crucial and important.

Front-end validation can be bypassed if:

Curious to know how front-end validation can be bypassed?

  • A malicious user turns off JavaScript on their browser.
  • Middlemen attacks occur, which change the data after the request is submitted by a user, but before it is received by the server.

We’ve been practicing back-end validation in the previous lessons. Let’s recall how to conduct some of those validations:

Prepared statements

In the event that we need to rely on user inputs to perform database tasks:

Get hands-on with 1200+ tech skills courses.