Certified Information Systems Security Professional (CISSP) — Question 174

When securing Hypertext Markup Language (HTML) text data, which is the purpose of the escape function?

Answer options

Correct answer: C

Explanation

The escape function is primarily used to replace potentially harmful characters in HTML with their corresponding safe representations, preventing injection attacks. Options A, B, and D do not accurately reflect the role of the escape function in ensuring data security.