Hello,
there is something that surprises me with the application of security headers in the htaccess.
1) If i scan my website with this site https://securityheaders.com/ to check security headers. I am told that I am missing the following headers:
Content-Security-Policy, X-Frame-Options and X-Content-Type-Options.
In my htaccess file i have this lines :
- Header always append X-Frame-Options SAMEORIGIN
- Header set X-Content-Type-Options "nosniff"
- Header always set Content-Security-Policy "script-src 'none'" (for SVG files)
2) For the tests if i install and activate this plugin HttpHeader
i scan headers with https://securityheaders.com/. In this case the headers are applied and I go green in the tests ...
Can I have an explanation?
Best regards.