Using a Strict Content Security Policy Header while allowing Woo to work
-
Hi, I am trying to create a strict Content Security Policy (CSP) in my Nginx configuration, and I want to be sure that any outside sources that this plugin uses are included in my policy.
In my Nginx virtual hosts server block, I am starting off with the following strict Content Security Policy (Header):
add_header Content-Security-Policy "default-src 'self';
Is there anything that THIS PLUGIN uses that isn’t included in ‘self’, that would need to be included in a strict content security policy header?
If so, could you please tell me what else I need to include in my Nginx header (specifying
img-src
rules,style-src
rules,script-src
rules,connect-src
rules, and any otheretc-src
etc-src
rules to keep a strict CSP while still allowing this plugin to be fully functional? Thanks so much for any help!# PLEASE DISREGARD THE BELOW INFO: IT IS ADDITIONAL RANDOM CONTENT TO PREVENT WORDPRESS FROM THINKING I AM CREATING DUPLICATE POSTS WHEN POSTING THE SAME QUESTION IN OTHER PLUGIN PAGES RELATIVE TO THAT SPECIFIC PLUGIN!
- The topic ‘Using a Strict Content Security Policy Header while allowing Woo to work’ is closed to new replies.