Skip to main content

CONTENT_SECURITY_POLICY

Constant CONTENT_SECURITY_POLICY 

Source
pub const CONTENT_SECURITY_POLICY: &str = "default-src 'self'; script-src 'self'; \
     style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; \
     font-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'";
Expand description

What the page may load and where it may send: this host and nothing else.