Altis Browser Security #4 in Security
Browser security utilities for WordPress/Altis
★ 10stars
238kcomposer installs
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/humanmade/altis-browser-security/archive/refs/heads/master.zipAlso on Packagist as altis/browser-security:
composer require altis/browser-securityFrom the readme
Altis Browser Security
Improve the browser security of your WordPress site.
Built for, and included with, Altis, the WordPress Digital Experience Platform for Enterprise.
Installation
You can use this plugin either directly as a submodule or as a Composer dependency.
Configuration
If you are using this as part of the Altis DXP, configuration is handled via the configuration framework. Consult the Altis security module documentation.
As a standalone plugin, you can use the following constants to change the behaviour of this module:
ABSAUTOMATICINTEGRITY (bool): True to enable automatic generation of integrity hashes, false to disable. (True by default.)
ABSNOSNIFFHEADER (bool): True to send X-Content-Type-Options: nosniff, false to disable. (True by default.)
ABSFRAMEOPTIONSHEADER (bool): True to send X-Frame-Options: SAMEORIGIN, false to disable. (True by default.)
ABSXSSPROTECTIONHEADER (bool): True to send X-XSS-Protection: 1; mode=block, false to disable. (True by default.)
Features
Subresource Integrity
This plugin automatically adds subresource integrity hashes where possible. These will be generated for any files on the same server; i.e. any plugin or theme ass
Read the full README on GitHub →