Skip to content
WordPress plugin for managing feature policy headers.
PHP Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

WordPress plugin WordPress Build Status

Feature Policy

WordPress plugin for managing feature policy headers.

Details

As noted on the Google Developers blog:

Feature Policy allows web developers to selectively enable, disable, and modify the behavior of certain APIs and web features in the browser. It's like CSP but instead of controlling security, it controls features!

The feature policies themselves are little opt-in agreements between developer and browser that can help foster our goals of building (and maintaining) high quality web apps.

This plugin provides an API for sending the Feature-Policy response headers, as well as an admin interface for deciding which policy to apply for each feature.

Settings screen to control policies for all available features

As the Feature Policy specification is still evolving and at an early stage, the plugin reflects that and is currently an experimental prototype, to demonstrate how Feature Policy can be used in WordPress.

Did you know?

The Feature Policy specification will integrate with the new Reporting API specification. There is a WordPress plugin for that specification as well.

Requirements

  • WordPress >= 4.7
  • PHP >= 5.6

Contributing

Any kind of contributions to Feature Policy are welcome. Please read the contributing guidelines to get started.

Further Resources

You can’t perform that action at this time.