CSP Friendly Security

描述

Adds a CSP header compatible with most WP plugins without breaking styles.

安裝

  • Extract the zip file and drop the contents in wp-content/plugins/ or install via dashboard.
  • Activate the plugin. No settings required.

常見問題

Is there something to do after install?

Just activate it!

評價

2023年7月24日
I downloaded this plugin and modified it for my site. I would recommend doing that. The plugin hooks into the ‘template_redirect’ hook. At that point the source for the page has been generated by themes and plugins and is ready to be sent. The plugin looks through the generated source and makes nonces for all inline scripts and styles. It modifies the source so the inline scripts and styles have a nonce=’some-nonce’ statement in them. It creates a Content-Security-Policy which includes those nonces. However, each site has its own CSP needs, and so modifying the plugin to tailor the CSP to your site is not that difficult to do. That is what I have done.
2022年9月8日
The plugin works as advertised however, it does not let you modify the CSP header resulting in a less than ideal CSP header. The header this plugin serves provides no protection against clickjacking and allows all external scripts.
2022年7月14日
This is the most ‘straight to the point’ CSP tool that I’ve found. So far, so go.
閱讀全部4個評價

貢獻者及開發者

“CSP Friendly Security” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 CSP Friendly Security 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.5.1

  • Fixed plugin header for WP validation
  • Added short description