axel31 Posted July 18, 2016 Share Posted July 18, 2016 Hi, I want to write a Content-Security-Policy, but I am facing trouble. On my htaccess, I have written Header set Content-Security-Policy "default-src 'self';" but all the javascript codes don't work anymore. I thought that with self and defaut it would authorize the javascript from my server (for now localhost for my test)... Does anyone know how to write it properly? Thanks for help Link to comment Share on other sites More sharing options...
pixelicous Posted July 18, 2020 Share Posted July 18, 2020 Waking up an old topic i stumbled upon as well.. if anyone got a good header set, that would be lovely Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now