This is an old revision of the document!


Whitelist

The whitelist access control rule allows access to a resource if the IP address of the client matches those in a list.

This is often used to allow services, scripts or specific workstations to access specific endpoints.

Properties

List: A list of string values, each containing an IP address. Deny: If true, this acts as a blacklist rather than a whitelist, denying access to the specified IP addresses.

Example

{
   "type": "whitelist",
   "list": ["127.0.0.1"]
}

This restricts access to only the local system.