--- title: HTMLIFrameElement.csp slug: Web/API/HTMLIFrameElement/csp translation_of: HTMLIFrameElement.csp browser-compat: api.HTMLIFrameElement.csp --- {{SeeCompatTable}}{{APIRef("HTML DOM")}} La propriété **`csp`** de l'interface {{domxref("HTMLIFrameElement")}} spécifie la [stratégie de sécurité du contenu (en anglais Content Security Policy (CSP))](/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). ## Spécifications {{Specifications}} ## Compatibilité des navigateurs {{Compat}}