Repository navigation
exp_request_shield 0.0.1.1
The default rules protect every admin siteaccess of a default installation and keep the shield's own API off.
- Admin siteaccesses:
adminui,editor,admin2,admin3,admin4,admin4landadmintest_*are treated like/admin: system URLs and admin modules are allowed, forms save everywhere, and editors pass one browser check per pass. Before, enforce mode refused their system URLs. - API off: the library's JSON API stays off by default (
set api off). Arestrictrule refuses nobody in monitor mode, so a site that switched to monitor had it open. - Rule order and admin hosts: the Exponential rules are included first, so the site's settings win. The rule file and doc/configuration.md show how to set up a site whose admin has a host name of its own.
- Library suffix: the library files keep the suffix .php, now stated and tested. Exponential Velocity turns exit() into its exit signal only in included PHP files.
Upgrade: composer update se7enxweb/exp_request_shield. A site with its own rule file in settings/request-shield/ keeps it; compare it with rules/request-shield.rules.