CodeIgniter Forums

Full Version: need help with CSP config
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I activate csp setting to 'true' at Config\App.
But web browser console show error something like : 'csp setting blocked content at 'self''
I don't know how to set Config\CSPsetting properly so my page not show error, but enforce good security practice.

Need help with that. The setting only have default, no choice on documentation line
In Config/ContentSecurityPolicy.php you need to set the attributes to whatever you're doing.

See:
http://www.html5rocks.com/en/tutorials/s...ty-policy/
http://www.w3.org/TR/CSP/
Great!!, thanks...
Now I can properly set CSP setting.