Activity Forums Salesforce® Discussions What is the use of Content Security Policy in Salesforce? Reply To: What is the use of Content Security Policy in Salesforce?

  • Ratnesh

    Member
    August 10, 2020 at 3:11 pm

    The Lightning Component framework uses the Content Security Policy (CSP) to impose restrictions on content. The main objective is to help prevent cross-site scripting (XSS) and other code injection attacks. CSP is a W3C standard that defines rules to control the source of content that can be loaded on a page.