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.
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
Log on to the Alibaba Cloud CDN console.
In the left-side navigation pane, click Domain Names.
On the Domain Names page, find the domain name that you want to manage and click Manage in the Actions column.
In the left-side navigation pane of the domain name, click Security Settings.
On the Blocked Regions tab, click Modify.
In the Blocking Settings dialog box, configure the Blocking Type and Regions parameters.
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.
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.