Updated on 2026-01-12 GMT+08:00

Blocking Public Access

Configure ACLs to allow only access from specified VPC endpoint IDs, preventing public access to the web page, clients (for uploading and downloading code and artifacts), and open APIs.

There are three modes for CodeArts access. You can configure ACLs for them as required.

  • CodeArts web page
  • Clients (for uploading and downloading code and artifacts)
  • Open APIs
  1. Log in to the CodeArts console, click , and select AP-Singapore or LA-Sao Paulo1.
  2. Click Go to Workspace in the upper right. The CodeArts homepage is displayed.
  3. Click the username in the upper right and choose All Account Settings.
  4. In the navigation pane, choose General > Private Access.
  5. Click Add VPC Endpoint.
  6. Set the parameters by referring to the following table and click Save.

    Figure 1 Adding a VPC endpoint ID to restrict access to CodeArts web page and clients
    Table 1 Adding a VPC endpoint ID to restrict access to CodeArts web page and clients

    Parameter

    Description

    Allowed VPC Endpoint ID

    Enter 1 to 40 characters. Only digits, lower-case letters, and hyphens (-) are allowed.

    The VPC endpoint IDs of Repo and CF2 must be added.

    To obtain these IDs, search for Repo and CF2 in the VPC Endpoint Service column and record their IDs.

    Figure 2 Obtaining a VPC endpoint ID

    Description

    Enter a maximum of 128 characters. Letters, digits, spaces, and these special characters are allowed: ()[]-_~.&

    This parameter is optional. Configure it as needed.

    To remove a VPC endpoint, click in the Operation column.

  1. Go to the Security Settings page.
  2. Choose ACL > API Access.
  3. Click Add in the IP Address Ranges area, and enter an IP address range.

    Figure 3 Allowed IP address ranges

  4. Click Add in the VPC Endpoints area, and add a VPC endpoint ID.

    Figure 4 Allowed VPC endpoints
    Table 2 Configuring an allowed VPC endpoint

    Parameter

    Description

    VPC Endpoint ID

    Enter 36 characters. Do not use uppercase letters or these special characters: @#%&<>\$^*

    The VPC endpoint IDs of Repo and CF2 must be added.

    To obtain these IDs, search for Repo and CF2 in the VPC Endpoint Service column and record their IDs.

    Figure 5 Obtaining a VPC endpoint ID

    Description

    Enter a maximum of 256 characters. Do not use these special characters: @#$%^&*<>\

    This parameter is optional. Configure it as needed.

  5. Click Save.

    After the configuration is successful, the values configured in the preceding steps are displayed.