Control login access by specifying a single IP or range of allowed IP addresses. When you define IP address restrictions for a profile, a login from any other IP address is denied.
To restrict access by IP address:
- Go to Settings → Security → Access Restrictions.
- Enter in a single IP address or a range of IP addresses and designate whether the restriction should apply to the web interface (UI), the API, or both.
- To enter in a single IP address, enter into the "Beginning IP Address" field only.
- To enter in a range of IP addresses, enter the lower IP address in the "Beginning IP address" field, and the higher IP address in the "Ending IP Address" field.
Make sure to allow your own IP address first, otherwise you will lock yourself out of your JangoMail account.
If there are no IPs entered, as is the default on accounts, then there are NO restrictions on which IP addresses can access your account. As soon as you enter at least one IP or IP range, then that becomes the IP address(es) from which your account must be accessed.
If a user attempts to login to the web interface from an unauthorized IP address, the user will get an error that says "Your IP is unauthorized for this account":
If the API is called by a node outside of the authorized IP addresses, then an exception will be thrown:
Web Service Exception UnauthorizedAddressException: The current IP Address (##.###.##.###) is not authorized to access the API.
Comments
0 comments
Article is closed for comments.