Content Security Policy (CSP) Header
Content Security Policy (CSP) is a standard that allows developers to disable or restrict browser features and control which external resources — such as scripts, styles, and fonts — a web application is permitted to load. On SAP BTP, developers use CSP to strengthen frontend communication security by defining trusted sources and reducing exposure to attacks such as cross-site scripting. To make an SAPUI5 app CSP compliant, developers must ensure their code avoids inline scripts and other patterns that violate CSP directives, and administrators can manage CSP settings — including trusted sites — through dedicated SAP-provided configuration apps.
Tutorials that teach this
Docs explaining this concept
- Doc Apps for Configuring Frontend Communication Security
- Doc Content Security Policy
- Doc Content Security Policy Status - Entity
- Doc Frontend Communication Security
- Doc Integrating Content Security Policy Data (Read)
- Doc Manage Content Security Policy
- Doc SAP-Provided APIs
- Doc Security Considerations for the SAP Authorization and Trust Management Service