GD Security Headers

plugin banner

Configure various security related HTTP headers, including CSP, XSS, Referrer Policy and more.

Author:Milan Petrovic (profile at wordpress.org)
WordPress version required:5.3
WordPress version tested:6.0
Plugin version:1.6.1
Added to WordPress repository:28-03-2019
Last updated:16-05-2022
Rating, %:74
Rated by:6
Plugin URI:https://plugins.dev4press.com/gd-security-hea...
Total downloads:9 968
Active installs:1 000+
plugin download
Click to start download

Configure various security-related HTTP headers, including Content Security Policy, Feature Policy, Referrer Policy and more. For CSP and XSS plugin supports report logging with 2 additional database tables to store reports from browsers.

Supported security headers

The plugin has support for following HTTP headers:

  • Content Security Policy (CSP) – with reporting
  • XSS Protection (XXP) – with reporting
  • Feature Policy (Permissions Policy)
  • Content Type – No Sniff Policy
  • Strict Transport Security
  • Referrer Policy
  • Frame Options

For CSP, the plugin allows you to set rules for all currently supported directives, additional settings including setting the policy in Report or Live mode. The plugin also includes special extensions that can automatically fill CSP rules for popular Google services you might be using on your website (Fonts, Maps, Adsense, Analytics, TagManager and more) and other popular services (Gravatar, Instagram, PayPal Vimeo and more).

And, for Feature Policy (or Permissions Policy), the plugin allows you to set rules for all currently supported rules (over 25 rules, supported by different browsers).

FLoC

Permissions Policy rules list includes ‘interest-cohort’ rule that can be used to disable Google’s new tracking method called ‘Federated Learning of Cohorts’ or ‘FLoC’.

Methods for adding headers

The plugin can add all the generated headers into HTACCESS file (for Apache web servers), and they will be applied to all files, not just WordPress generated content. If your website is not using Apache (or .HTACCESS), all rules are generated with each page request and will work with any server type.

And, if you don’t use Apache web server, plugin has a panel where it displays generated headers for most popular servers: Apache, Nginx and IIS, and you can copy generated headers to add to server configuration files.

About the plugin


Screenshots
FAQ
ChangeLog