Advertisement
rAthus

.htaccess règle CORS autorisation d'affichage en iFrame sur nouveaux serveurs

Oct 20th, 2022 (edited)
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # règle CSP CORS autorisation d'affichage en iFrame
  2. <IfModule mod_headers.c>
  3. Header always unset Content-Security-Policy
  4. Header set Content-Security-Policy "frame-ancestors 'self' https://site-a-autoriser.com"
  5. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement