Promptles
Security

Content Security Policy (CSP)

advanced

Definition

A list of approved sources a website gives the browser, saying where scripts, images, and fonts may load from, so the browser refuses anything from elsewhere.

In the wild

A bank's site tells the browser to run scripts only from the bank's own address, so when an attacker sneaks in a script hosted somewhere else, the browser refuses to run it.

More from Security