Browser & Web Performance · Senior · Question 54 of 75

Where should HTML from users be sanitized in a system that renders it in a web app and a mobile app?

Explanation

Sanitizers and rendering contexts change over time. Sanitizing at render time with up-to-date rules protects against stored payloads.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 54

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz