Security

Trusted Types

Supported browsers can constrain injection sinks to trusted objects from reviewed policies.

Formal Syntax & Structure

react syntaxreact
Content-Security-Policy: require-trusted-types-for 'script'

Working Example

Example Snippetreact
Content-Security-Policy: require-trusted-types-for 'script'
React Reference