| 开发者 | rimbeplus |
|---|---|
| 更新时间 | 2026年10月18日 12:03 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-json/beplus-shsa/v1/csp-report). The plugin stores only the violated directive, the blocked origin or keyword (e.g. https://cdn.example.com or inline), the path of the page, a count and timestamps. IP addresses, user agents, query strings and full URLs are never stored. Reports are kept until you clear them or uninstall the plugin. This feature is off by default.
/wp-content/plugins/beplus-security-headers-script-auditor directory, or install the plugin through the WordPress plugins screen directly.It can, especially Content-Security-Policy. Start with the scanner recommendations, use "Report-only mode" for CSP first to observe without blocking anything, and only switch to enforcing mode once you've confirmed the policy covers everything your site actually loads.
No. It performs normal HTTP requests from your own server to pages on your own site, using the built-in WordPress HTTP API. Nothing is sent to any third party.
Click "Check live headers" on the Headers tab. If headers are missing, a page cache, CDN or your web server is usually serving the page without going through WordPress — clear the cache, or add the headers in your server/CDN configuration. If a header is shown as overridden or sent twice, it's also being set somewhere else (server, CDN or another plugin); set each header in only one place.
Yes, by default (since 1.1.0): every header except Content-Security-Policy and X-Frame-Options is also sent on wp-admin, the login page, admin-ajax and the REST API. CSP is left out because it could break the block editor and other admin screens, and WordPress already protects these pages from being framed. You can turn this off on the Headers tab.
Enable Content-Security-Policy in report-only mode and tick "Collect violation reports". Browsers then report anything your policy would block to your own site, and the CSP Reports tab lists each blocked resource with an "Add to policy" button. Browser extensions can trigger reports too, so only add sources you recognise. Counts are approximate under heavy traffic. On HTTPS sites, Chromium-based browsers use the Reporting API, which can delay reports by up to a minute.
No. Even the whole-site option only scans your homepage plus your most recently published posts/pages (capped at 200) and is meant as a starting point for building a Content-Security-Policy, not a substitute for a complete security review of your site.
object-src 'none', base-uri 'self' and frame-ancestors 'self'.; merged into the previous directive.