paint-brush
Everything You Need to Know About Content Security Policy (CSP)by@mozilla
736 reads
736 reads

Everything You Need to Know About Content Security Policy (CSP)

by Mozilla Contributors6mAugust 3rd, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Content Security Policy (CSP) is an added layer of security that helps to detect and mitigate certain types of attacks, including Cross Site Scripting (XSS) and data injection attacks. CSP is designed to be fully backward compatible (except CSP version 2 where there are some inconsistencies in backward compatibility; more details here section 1.1). Browsers that don't support CSP still work with servers that implement it, and vice-versa: browsers simply ignore it. If the site doesn't offer the CSP header, browsers likewise use the standard same-origin policy.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Everything You Need to Know About Content Security Policy (CSP)
Mozilla Contributors HackerNoon profile picture
Mozilla Contributors

Mozilla Contributors

@mozilla

Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.

About @mozilla
LEARN MORE ABOUT @MOZILLA'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Mozilla Contributors HackerNoon profile picture
Mozilla Contributors@mozilla
Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Learnrepo
Scien
Cyberfishnews