roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.81k stars 1.63k forks source link

Document a working Content-Security-Policy #9638

Open pabzm opened 2 weeks ago

pabzm commented 2 weeks ago

Prerequisites

Proposal

We should document a Content-Security-Policy, that is a strict as possible without breaking any usage of Roundcube.

Motivation and context

These days, CSPs are a relevant part of web security. We should help people with that. It might also reduce the number of issues in which people have problems due to a CSP, or having questions about it.

pabzm commented 2 weeks ago

This was inspired by #9634

pabzm commented 2 weeks ago

We could start to include a CSP in all our HTTP Headers, too, and then send a stricter one unless remote objects are allowed!