Remember everything you learn about any topic

Lernabit is a notecard app that creates a review schedule so you remember more of what you learn

How it works

You write down what you learn
Lernabit reminds you to review it
You remember it forever

Data Sanitation vs. Data Validation

In , there is data sanitation and data validation. They are 2 related but different processes. Data sanitation is "rejecting known bad" data. Things like SQL injection attempts and system commands. The goal of sanitation is to make sure data is safe. Data validation is "accepting known good" data. With validation, the goal is to make sure the data is correct. For example, if you have an email input field, your sanitation methods should make sure the data is safe, such as by removing special characters. But your validation would make sure it is a valid email address, check it for uniqueness etc. You already know it is *safe*, but it still has to be validated to ensure that it is *correct*.
By
Public

Get a free account

Start creating your own notes and remember more of what you learn. Signup now to get started.

You might like