Feature/security headers#21
Conversation
|
This is a really good idea, thanks @DanielHudson2 I've added some additional suggestions for the default header set. We'll need to give I've added a |
|
@edjeavons Could we have a catch up on this at some point to try and get this through? |
This is expected for PCI tests
This can be considered a placeholder for websites to customise based on their own needs.
We need to prove this won’t affect full page caching before adding it
edjeavons
left a comment
There was a problem hiding this comment.
I've refined a couple of things and tested it on a website. It's OK to merge as soon as you're ready.
Added an action for
wp_headersto set security headersFor now have only added a basic default
'X-Frame-Options' = 'SAMEORIGIN'to prevent click jacking @edjeavons could do with some input on others from a server side perspectiveThis came from checking the security headers on the eighteen73 site https://securityheaders.com/?q=https%3A%2F%2Feighteen73.co.uk
Also added a filter so this can be overridden on a per site basis if needed