CSP default template

iamdtms
Dec 3, 2023

--

with notes

CSP by DALLE 3
<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self' 'unsafe-inline';
font-src fonts.gstatic.com 'self';
style-src fonts.googleapis.com 'self' 'unsafe-inline';
script-src 'self' web.archive.org 'unsafe-inline' 'unsafe-eval';
script-src-elem 'self' 'unsafe-inline';
img-src 'self' data:;
manifest-src 'self';
connect-src 'self' 'unsafe-inline';
object-src 'none';"
>
  • font-src & style-src definitions for Google Fonts
  • script-src for web.archive.org indexing
  • img-src data for CDATA images

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

iamdtms
iamdtms

Written by iamdtms

IT specialist, frontend designer

No responses yet

Write a response