IP Whitelist
The IP whitelist restricts where a group's queries can be run from outside the Kvery web app — through shared links, the API and the MCP server — so that these requests are only accepted from trusted networks. When a whitelist is set, such a request from any other address is rejected.
How it works
You add one or more allowed IP addresses to the group. From then on, the following are accepted only from those addresses:
- Shared links of the group's queries and the tiles of its shared dashboards.
- Calls of the public query API — also calls made with Basic Auth — so endpoints can only be called from your servers.
- The group's Swagger documentation.
- Queries run through the MCP server and its REST API. The whitelist applies to every query run through the API — also in the group the user last opened in the web app, because a token can be used from any address; a call from an address outside the whitelist is refused.
A request from another address is answered with HTTP 403: a call of the public
query API gets {"status": 0, "response": "IP not allowed!"}, and a run through
the MCP server or its REST API gets a message that names the caller's address
("Your IP address (…) is not on the IP whitelist of the group … that this query
belongs to. …").
The whitelist does not apply to a signed-in member who has the group open in the Kvery web app: such a member works in the group and runs its queries from any address, also through its shared links, shared dashboards and Swagger page. A signed-in user who has another group open is checked like a visitor who is not signed in.
Setting the whitelist
Open Group settings → IP Whitelist, type an address and press Enter to add
it to the list, then click SET ("Whitelist successfully set!"). Each entry is a
single IPv4 or IPv6 address, compared with the caller's address as written: ranges
and networks (such as 203.0.113.0/24) are not accepted, and a list with an invalid
entry is not saved ("Invalid IP address!"). An empty whitelist means no IP
restriction is enforced.
The address of the Kvery server itself (the Server IP shown on the Create query page) is always allowed.
Combining with other controls
The IP whitelist works alongside Kvery's other protections:
- Thresholds and rate limits cap how often and how long queries run.
- Share-hash passwords and expiry protect individual shared queries.
- SSL and SSH secure the path between Kvery and your database.
Use these together for defence in depth.