All Products
Search
Document Center

:Configure a region blacklist or whitelist

Last Updated:Nov 09, 2023

Alibaba Cloud CDN supports region blacklists and whitelists. After you add regions to a blacklist or an whitelist, Alibaba Cloud CDN identifies the source regions of requests and blocks or allows requests from the specified regions. This way, malicious requests can be blocked by region. This topic describes how to configure a region blacklist or whitelist.

Important

This feature is unavailable. We recommend that you use the latest edition of DCDN WAF. For more information, see Overview of DCDN WAF (new edition).

Enable the region blacklist or whitelist feature

  1. Log on to the Alibaba Cloud CDN console.

  2. In the left-side navigation pane, click Domain Names.

  3. On the Domain Names page, find the domain name that you want to manage and click Manage in the Actions column.

  4. In the left-side navigation pane of the domain name, click Security Settings.

  5. On the Blocked Regions tab, click Modify.

  6. In the Blocking Settings dialog box, configure the Blocking Type and Regions parameters.

    Blocking settings

    Parameter

    Description

    Blocking Type

    • Blacklist

      All requests from the regions in the blacklist are blocked.

    • Whitelist

      Only the requests from the regions in the whitelist can access resources on CDN points of presence (POPs).

    The whitelist and blacklist are mutually exclusive. Only one of the whitelist and blacklist can take effect at a time.

    Regions

    Add regions to the blacklist or whitelist.

  7. Click OK.

Disable the region blacklist or whitelist feature

To disable the region blacklist or whitelist, click Delete. After you delete the regions from the blacklist or whitelist, requests from all regions can access resources on CDN POPs.

Clear the settings