Shadow Daemon is a web application firewall that intercepts requests at the application level. This repository contains a component of Shadow Daemon to connect PHP applications with the shadowd server.
For the full documentation please refer to shadowd.zecure.org.
- If you are not using a prepackaged release you first have to run
composer install
. - You have to create a configuration file at
/etc/shadowd/connectors.ini
. You can find an example configuration atmisc/examples/connectors.ini
. It is annotated and should be self-explanatory. - The PHP setting auto_prepend_file should be used to load
shadowd.php
automatically. It is highly recommended to setauto_prepend_file
using the capabilities of your web server instead of relying onphp.ini
.