i am trying to add createcontent secuirty policy for our store front,

1 0 0

I am new to store front changes, in the code area, i am trying to add createcontent security policy for our store front. how can i go about it ?is there any cybersecurity based app i can install to run intrusion detection system for our website? a customer showed us an imposter website similar to our name and copying our products and repost

Reply 1 (1)

Shopify Partner
595 78 92

Hi @Naga-anniemos ,
This is Theodore from PageFly - Shopify Page Builder App.


  • Go to your Shopify admin panel > Online Store > Themes.
  • Find your theme and click Actions > Edit code.
  • Locate the layout.liquid file (or a similar template responsible for the overall website layout).
  • Add the following code snippet within the <head> section of the layout.liquid file, replacing the placeholders with your specific values:


<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://cdn.shopify.com; style-src 'self' https://fonts.googleapis.com; img-src 'self' https://cdn.shopify.com data:;">



Best regards,
Theodore | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!

PageFly - #1 Page Builder for Shopify merchants.

All features are available from Free plan. Live Chat Support is available 24/7.