Plugin: Access restriction to search results
|Other versions of this plugin may exist. Please ensure you are viewing the documentation for the version that you are currently using. If you are not running the latest version of your plugin we recommend upgrading. See: list of all available versions of this plugin.|
This plugin can be used to restrict access to a search results. Access can be controlled via a configured token that must be provided each time as a request header. If the token from the request header doesn’t match configured one, the 401 (Unauthorized) response will be returned.
Enable the plugin
Enable the access-restriction-token-plugin plugin on your results page from the Extensions screen in the administration dashboard or add the following results page configuration to enable the plugin.
|The plugin will take effect as soon as it is enabled.|
Plugin configuration settings
The following options can be set in the results page configuration to configure the plugin:
plugin.access-restriction-token-plugin.config.header: (Required) Header name that will be expected in request
plugin.access-restriction-token-plugin.encrypted.token: (Required) Security token that will be provided in request as header value
To add encrypted 'token' via admin UI press
Access to the search endpoint for a particular results page will be granted when each request will be done with the request header
for the plugin configured with the below settings
Funnelback will automatically encrypt provided plain token value (ie.