About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:security:content_security_policy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
administration:security:content_security_policy [2020/06/29 20:03] – [Best Practices / Recommendations] demiankatzadministration:security:content_security_policy [2020/06/30 10:12] – [Enforcing vs. Reporting] demiankatz
Line 11: Line 11:
 ==== Configuration File ==== ==== Configuration File ====
  
-All settings related to Content Security Policies can be found in contentsecuritypolicy.ini.+All settings related to Content Security Policies can be found in [[https://github.com/vufind-org/vufind/blob/master/config/vufind/contentsecuritypolicy.ini|contentsecuritypolicy.ini]].
  
 ==== Enforcing vs. Reporting ==== ==== Enforcing vs. Reporting ====
Line 19: Line 19:
 === Receiving Reports === === Receiving Reports ===
  
-When in reporting mode, you can set the report-to setting in contentsecuritypolicy.ini to send reports of violations to a URI that implements a simple API. VuFind does not currently include a built-in reporting endpoint, but several options exist, including:+When in reporting mode, you can set the report-to setting in [[https://github.com/vufind-org/vufind/blob/master/config/vufind/contentsecuritypolicy.ini|contentsecuritypolicy.ini]] to send reports of violations to a URI that implements a simple API. VuFind does not currently include a built-in reporting endpoint, but several options exist, including:
  
   * [[https://github.com/seek-oss/csp-server|seek-oss/csp-server]] - an open source, Node.js-based solution   * [[https://github.com/seek-oss/csp-server|seek-oss/csp-server]] - an open source, Node.js-based solution
   * [[https://report-uri.com/|ReportURI]] - a commercial, cloud-based service   * [[https://report-uri.com/|ReportURI]] - a commercial, cloud-based service
 +  * [[https://docs.sentry.io/error-reporting/security-policy-reporting/|Sentry]] - a commercial, cloud-based service
 +
 +All violations are usually reported in browser's console too, but it is preferable to set up some service to ensure you able to catch all issues your users could be facing.
 ===== Best Practices / Recommendations ===== ===== Best Practices / Recommendations =====
  
administration/security/content_security_policy.txt · Last modified: 2024/04/11 13:51 by demiankatz