Skip to content

Lesson 7 of 9 · 25m

Output Encoding and Sanitization Done Correctly

Encode by default at the sink, use HTML sanitizers only when markup is required, and treat rich text as a hostile document format.

Loading lesson…