Skip to content

What is Content Security Policy?

Also called: CSP

The short answer

A Content Security Policy is a response header that tells the browser which sources of scripts, styles, images and frames a page may load, blocking injected code.

Content Security Policy, explained

It is one of the strongest defences against cross-site scripting; it can also control which sites may embed yours (frame-ancestors).

Questions people ask about Content Security Policy

What is Content Security Policy?

A Content Security Policy is a response header that tells the browser which sources of scripts, styles, images and frames a page may load, blocking injected code.

Part of the Web Encyclopedia by Apex Flow Digital. Definitions are general knowledge, kept current, with no invented statistics.

Reviews

We’re early. Real reviews only.

Apex Flow Digital launched recently. Every purchase comes with a request for honest feedback through our help center. When real buyers write real reviews, they go here — with their permission, by name. Until then, this section stays empty. No fakes. No stock photos. No bullshit.

Used something from the catalog? Leave honest feedback →

While you’re here…