You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
La propriété **`csp`** de l'interface {{domxref("HTMLIFrameElement")}} spécifie la [stratégie de sécurité du contenu (en anglais <i lang="en">Content Security Policy (CSP)</i>)](/fr/docs/Web/HTTP/CSP) qu'un document embarqué doit accepter de respecter.
## Syntaxe
```js
var csp = HTMLIFrameElement.csp;
HTMLIFrameElement.csp = csp;
```
### Valeur
Une [stratégie de sécurité du contenu](https://w3c.github.io/webappsec-cspee/#dom-htmliframeelement-csp).