Hologres allows you to configure IP address whitelists and control access permissions for your databases. This ensures secure and stable operations in Hologres. This topic describes how to configure an IP address whitelist in the HoloWeb console.
Usage notes
When you configure an IP address whitelist in the HoloWeb console, take note of the
following items:
- Only Hologres V0.10.14 and later support the IP address whitelist feature. You can
view the version of your Hologres instance on the instance details page in the Hologres
console. You can also execute the
SELECT hg_version()
statement to check the version of your Hologres instance. If the version of your Hologres instance is earlier than V0.10.14, you can submit a ticket or join the Hologres DingTalk group to update the instance. - If you do not configure an IP address whitelist after you purchase an instance, databases in the instance can be accessed by using all types of networks. For more information about how to purchase an instance, see Purchase a Hologres instance.
- Only superusers can configure IP address whitelists for instances.
- To configure an IP address whitelist for an instance in the HoloWeb console, you must
set the Logon Method parameter to Password-free Logon when you create a connection to the instance. For more information about how to create
a connection to a Hologres instance, see HoloWeb quick start.
Create an IP address whitelist
Edit an IP address whitelist
After an IP address whitelist is created, only the IP addresses in the whitelist can
be modified. To modify the authorized users and databases, you must create another
IP address whitelist.
Note Only superusers can edit IP address whitelists.
- In the top navigation bar of the HoloWeb console, click Security Center. In the left-side navigation pane of the Security Center tab, click IP Address Whitelist.
- On the IP Address Whitelist page, find the whitelist that you want to modify and click Edit in the Operation column.
- In the Edit IP Address in Whitelist dialog box, modify the IP addresses. For more information about how to specify IP addresses for a whitelist, see the "Create an IP address whitelist" section of this topic.
- Click OK.
Delete an IP address whitelist
You can delete IP address whitelists that are no longer needed. After you delete all
IP address whitelists for a connection, no whitelist is available for the relevant
instance and databases.
Note Only superusers can delete IP address whitelists.
- In the top navigation bar of the HoloWeb console, click Security Center. In the left-side navigation pane of the Security Center tab, click IP Address Whitelist.
- On the IP Address Whitelist page, find the whitelist that you want to delete and click Delete in the Operation column.
- In the message that appears, click OK.