Validation is used to ensure that data entered is both possible and sensible. The purpose of data sanitisation is to hide or protect data so it can't be seen or disclosed. Data can be sanitised in several ways. One example of data sanitisation is known as masking .
What is sanitization programming?
HTML sanitization is the process of examining an HTML document and producing a new HTML document that preserves only whatever tags are designated "safe" and desired. HTML sanitization can be used to protect against attacks such as cross-site scripting (XSS) by sanitizing any HTML code submitted by a user.
What is sanitization in cyber security?
Definition(s): Process to remove information from media such that information recovery is not possible. It includes removing all labels, markings, and activity logs.