CSP Values
Content Security Policy values are the building blocks of your security policy. Understanding the different types of values and how to use them effectively is crucial for implementing a strong CSP.Value Categories
Keywords
Keywords are special values that define how resources can be loaded and executed in your web application. Learn more about CSP KeywordsHashes and Nonces
Two powerful mechanisms to allow specific inline scripts and styles while maintaining security. Learn more about CSP Hashes and NoncesHost Sources
Specify which hosts can serve resources for your web application. Learn more about CSP Host SourcesScheme Sources
Define which URL schemes can be used to load resources. Learn more about CSP Scheme SourcesRelated Resources
External Articles
- MDN Web Docs: Content Security Policy
- OWASP: Content Security Policy Cheat Sheet
- Google Web Fundamentals: Content Security Policy