Configuration Options
Configuring Required Parameters
Configuration options are set on the $perimeterxConfig
variable.
Required parameters:
- app_id
- cookie_key
- auth_token
- module_mode
All parameters are obtainable via the HUMAN Portal. (Applications and Policies pages)
Changing the Minimum Score for Blocking
Default blocking value: 100
Custom Blocking Actions
In order to customize the action performed on a valid block value, use the ‘custom_block_handler’ option, and provide a user-defined function.
The custom handler should contain the action to be taken, when a visitor receives a score higher than the ‘blocking_score’ value.
A common customization option can be supplying a custom branded block page.
Default block behaviour: return an HTTP status code of 403 and serve the HUMAN block page.
Examples
Serving a Custom HTML Page