Control who can access your apps and from where by implementing IP-based access management. This feature allows you to whitelist specific IP addresses or ranges, ensuring that only authorized users or locations can access your app. This is particularly useful for restricting access to internal teams or specific geographic regions.
Requirements
An Ubidots account with an Enterprise plan.
1. How does IP access management work?
IP-based access management works by controlling access to the specified Ubidots application based on the originating IP address of the incoming request. It involves setting up a whitelist rule that allows access depending on the requester's IP address.
Characteristics:
Whitelist-Based: Only the IPs in this list can access the application. All others are denied and receive a 403 error response.
Scope: IP whitelisting applies to requests authenticated using end-user credentials, whether accessed through the UI or via API.
IP Ranges: You can manage entire ranges using CIDR (Classless Inter-Domain Routing). For example,
192.168.1.0/24represents all IP addresses from192.168.1.0to192.168.1.255.IP Versions: Both IPv4 and IPv6 IPs are supported.
Notes:
|
2. How to manage access based on IPs?
Click on “apps”.
Go to the settings of the app you want to edit.
On the left-hand menu, click on "settings" and then on "security".
Scroll down to the "IP access management" section.
In the text field next to "IP whitelist", enter a comma-separated list of all the IPs you want to grant access to your application.
Note: Any IP that's not included in your "IP whitelist" will, therefore, be blocked.

