diafygi / diafygi/gethttpsforfree
Add some security headers, including CSP and HPKP
- 主要语言
- JavaScript
- 星标
- 2.2k
- 派生
- 277
- PR 合并指标
- 30 天内没有已合并 PR
描述
It would be nice to have some security headers: https://securityheaders.io/?q=https%3A%2F%2Fgethttpsforfree.com%2F
Especially a CSP could be very helpful here, as you can very strictly limit the JS use. However you may have to rewrite a few JS parts to be CPS-compatible (to not have to allow `insecure-eval`).
Also have a look at [report-uri](https://report-uri.io/) where you can collect CPS and HPKP violation reports.
As for HPKP [please be cautious with the LE client](https://community.letsencrypt.org/t/http-public-key-pinning-hpkp/2450). You might want to follow [this best practises](https://community.letsencrypt.org/t/hpkp-best-practices-if-you-choose-to-implement/4625).
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。