Difference between revisions of "HTML Entity Encoding"

Jump to: navigation, search
Line 6: Line 6:
[[Category: Control]]

Revision as of 06:29, 21 September 2008


HTML entity encoding is the process of replacing ASCII characters with their 'HTML Entity' equivalents. For example, you would replace the "<" character with "&lt;"

Using HTML entity encoding is useful because HTML entities are 'inert' in most interpreters, especially browsers. This means that even if an attacker tricks your application into sending malicious code to another user's browser, the attack won't execute.
