How to solve Content-Security-Policy and Permissions-Policy?
by n00b_noob from LinuxQuestions.org on (#5EB9G)
Hello,
I have a WordPress website and checked it with https://securityheaders.com/ website and it show me an error about Content Security Policy (CSP)" and "Permissions-Policy" headers. I changed my Apache configuration and added below line to it:
Code:Header set Content-Security-Policy-Report-Only "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';"But, problem not solved. Chromium show me some issues.
How can I solve it?
Thank you.
Attached Thumbnails


I have a WordPress website and checked it with https://securityheaders.com/ website and it show me an error about Content Security Policy (CSP)" and "Permissions-Policy" headers. I changed my Apache configuration and added below line to it:
Code:Header set Content-Security-Policy-Report-Only "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';"But, problem not solved. Chromium show me some issues.
How can I solve it?
Thank you.
Attached Thumbnails