Updated on 2023-05-17 GMT+08:00

Configuring a Client Access Control Policy

Overview

Client access control controls the client IP addresses that access APIs to protect backend services. You can configure an access control policy to allow or forbid a client with the specified IP address to access an API.

Configuring an Access Control Policy

  1. Log in to the ROMA Connect console. On the Instances page, click View Console of an instance.
  2. In the navigation pane on the left, choose API Connect > API Calling. On the Clients tab page, click Set Access Control in the Operation column of a client.
  3. In the Set Access Control Policy dialog box, configure policy information.
    Table 1 Parameters for setting an access control policy

    Parameter

    Description

    Effect

    Access control type. Options:

    • Allow: Only clients with specified IP addresses are allowed to call APIs.
    • Deny: Clients with specified IP addresses are not allowed to call APIs.

    IP Address

    Click Add IP Address to add the client IP addresses or IP address segments that are allowed or forbidden to call an API.

  4. Click OK.

    After configuring an access control policy, you can click Reset in the Set Access Control Policy dialog box to clear all access control policies.