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

  • What is the use of Content Security Policy in Salesforce?

    Posted by Shweta on August 10, 2020 at 3:01 PM

    What is the use of Content Security Policy in Salesforce?

    Ratnesh replied 6 years ago 2 Members · 1 Reply
  • 1 Reply
  • 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.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos