Which are the default scripting codecs supported by the security API
-
JavaScript
-
VBScript
-
Both of the above
-
None of the above
C
Correct answer
Explanation
The security API includes default scripting codecs for both JavaScript (JavaScriptCodec) and VBScript (VBScriptCodec). These codecs encode user-supplied data specifically for execution within client-side script contexts, preventing cross-site scripting (XSS) attacks by neutralising script-specific characters before output rendering.