Files
developer-roadmap/roadmaps/angular/content/sanitization@cgI9oeUHufA-ky_W1zENe.md
T

640 B

Sanitization

Sanitization is the process of inspecting and cleaning untrusted data to prevent malicious code from being executed in a web browser. It ensures that values injected into the DOM are stripped of dangerous elements, such as <script> tags or inline event handlers, while preserving safe content. This mechanism automatically filters data bound to templates to maintain a secure environment and protect the application from security vulnerabilities.

Visit the following resources to learn more: