HTTP Security Headers
Tests for presence and proper configuration of the following headers:
- X-Frame-Options (deprecated)
Go to https://github.com/RandomAdversary/HTTP-Security-Headers and click the “Download ZIP” button.
This will download a file with a name like HTTP-Security-Headers-master.zip.
Unzip this file into the directory where you keep all your vhosts and rename the resultant directory to name of your choice.
HTTP Security Headers uses Zend Framework 2 which needs to be downloaded and installed separately using Composer.
Composer can be downloaded at getcomposer.org
To install Zend Framework 2 into our application we simply type:
php composer.phar self-update php composer.phar install
from the HTTP Security Headers folder.