CSP

CSP

Martin Greenaway發表於
Number of replies: 2

Is it possible to use a Content Security Policy with Moodle?


Ref: https://developer.mozilla.org/en-US/docs/Web/Security/CSP

評比平均分數: -
In reply to Martin Greenaway

Er: CSP

Iñigo Zendegi Urzelai發表於
Core developers的相片 Particularly helpful Moodlers的相片 Peer reviewers的相片 Plugin developers的相片

Hi,

I've done some tests with CSP and I've seen that you can add Content Security Policies to your Moodle just adding the headers to your config.php file.

This is an example for a Content-Security-Policy-Report-Only:

header("Content-Security-Policy-Report-Only: default-src https: 'unsafe-inline'; report-uri https://your.reportsite.com/");

Greetings.

評比平均分數:Useful (2)