Account administrators can turn on a restriction that only users from a whitelisted set of IP addresses are allowed to access Erply. With this feature, employees can be prevented from logging into Erply from home, or from elsewhere outside the company premises.
Users from non-whitelisted IP addresses will still be able to see the login page, but they won’t be able to log in. API authentication requests will return error code 1201.
The following users/applications are always able to access Erply, even if their IPs are not in the whitelist:
There are two settings:
In back office, the settings are located at Settings > Configuration, under "IP Whitelisting”.
The list of IP’s is a new line separated list. You can add a comment for an entry by adding “#” after the IP followed up by the comment. Note that the comments are optional.
100.10.10.1 # Primary shop
100.10.10.2
Duplicate IP entries will not be saved.
Api exposes 2 requests to manage the configuration.
Use this request to get the current configuration.
Saves new IP whitelist configuration. This data will always overwrite existing settings, meaning that if the saved data does not contain an IP address that is currently configured then that will be removed. It’s recommended to always use the getIPWhitelistSettings prior to saving settings if not sure what settings should be there.
This request requires 2 fields:
[{"ip":"100", "comment":"test"}, {"ip":"102"}]
When you enable the restrictions, you also need to whitelist the IP addresses of all scripts and services that interact with API.
As mentioned above, Erply's first-party integrations and services can be exempted from that requirement.