Regional access control identifies the location of end users through Client IP, allowing customers to set access privileges for all content or specified directories for users in different regions. Tencent Cloud regularly updates the IPv4 database for global regions, and a small number of IP terminals not in the database cannot be identified.
Configuration Instructions
Log in to the CDN Console, select Plugin Center from the menu bar, find the regional access control feature card, and click to activate. After first-time activation, click Go to View at the bottom of the card to enter the regional access control configuration list page.
Click Add New Rule to set regional access control allowlist/denylist for all content/specified directories. Multiple selections for end user regions are supported.
Rule Type
Description
Allowlist
Access permission for selected regions, access denied for other regions.
Blocklist
Access denied for selected regions, access permission for other regions.
Note:
Each domain name can be configured with up to 20 region access control rules.
Note: The priority at the bottom of the list is higher than that at the top.
Domains with IPv6 access enabled do not support enabling the regional access control plugin.
The same directory of the same domain (or all content) can only set an allowlist once.
It is recommended to configure one type of rule (allowlist/denylist) for a single domain name to avoid overly complex effective conditions.
Supported Regions
Region
Specific Area
Asia
Hong Kong (China), Taiwan (China), within China, Macao (China), Vietnam, Jordan, British Indian Ocean Territory, Indonesia, India, Israel, Iran, Iraq, Yemen, Armenia, Syria, New Caledonia, Singapore, Uzbekistan, Brunei, Turkmenistan, Thailand, Tajikistan, Sri Lanka, Christmas Island, Saudi Arabia, Japan, Nepal, Myanmar, Bangladesh, Mongolia, Malaysia, Maldives, Lebanon, Laos, Kuwait, Cocos (Keeling) Islands, Qatar, Cambodia, Kyrgyzstan, South Korea, Kazakhstan, Georgia, Philippines, Timor-Leste, North Korea, Bhutan, Bahrain, Palestine, Pakistan, Oman, United Arab Emirates, Afghanistan
Europe
Albania, Azerbaijan, Ireland, Estonia, Andorra, Austria, Aland Islands, Bulgaria, North Macedonia, Belgium, Iceland, Bosnia and Herzegovina, Poland, Denmark, Germany, France, Faroe Islands, Vatican, Finland, Guernsey, Netherlands, Montenegro, Czech Republic, Croatia, Latvia, Lithuania, Liechtenstein, Luxembourg, Romania, Isle of Man, Malta, Moldova, Monaco, Norway, Portugal, Sweden, Switzerland, Serbia, Cyprus, San Marino, Slovakia, Slovenia, Svalbard and Jan Mayen, Türkiye, Ukraine, Spain, Greece, Hungary, Italy, United Kingdom, Jersey, Gibraltar
South America
Argentina, Aruba, Paraguay, Brazil, Bolivia, Ecuador, French Guiana, Falkland Islands, Guyana, Netherlands Caribbean Region, Curacao, Peru, Suriname, Trinidad and Tobago, Venezuela, Uruguay, Chile
Africa
Algeria, Egypt, Ethiopia, Angola, Benin, Botswana, Burkina Faso, Burundi, Equatorial Guinea, Togo, Eritrea, Cape Verde, Gambia, Republic of the Congo, Democratic Republic of the Congo, Djibouti, Guinea, Guinea-Bissau, Ghana, Gabon, Zimbabwe, Cameroon, Comoros, Côte d'Ivoire, Kenya, Lesotho, Liberia, Libya, Réunion, Rwanda, Madagascar, Malawi, Mali, Mayotte, Mauritius, Mauritania, Mozambique, Namibia, South Africa, South Sudan, Niger, Nigeria, Sierra Leone, Senegal, Seychelles, São Tomé and Príncipe, Eswatini, Sudan, Somalia, Tanzania, Tunisia, Uganda, Western Sahara, Jamaica, Zambia, Chad, Central African Republic
Oceania
Australia, Papua New Guinea, Northern Mariana Islands, French Polynesia, Fiji, Guam, Kiribati, Cook Islands, Marshall Islands, American Samoa, Federated States of Micronesia, Nauru, Niue, Norfolk Island, Palau, Pitcairn Islands, Samoa, Solomon Islands, Tonga, Tuvalu, Tokelau, Wallis and Futuna, Vanuatu, New Zealand
North America
Anguilla, Antigua and Barbuda, Barbados, Bahamas, Panama, Bermuda, Puerto Rico, Belize, Dominican Republic, Dominica, Saint Martin (French part), Colombia, Costa Rica, Grenada, Greenland, Cuba, Guadeloupe, Haiti, Saint Martin (Dutch part), Honduras, Canada, Cayman Islands, Martinique, United States, United States Minor Outlying Islands, United States Virgin Islands, Montserrat, Morocco, Mexico, Nicaragua, El Salvador, Saint Barthélemy, Saint Kitts and Nevis, Saint Lucia, Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Turks and Caicos Islands, Guatemala, British Virgin Islands
Fee Description
1. In areas not covered by service or during peak business hours, client requests from accessible regions may be routed to other serviceable regions, which may incur billing traffic from other regions during the period. For details, see Billing Instructions.
2. For terminal requests that are denied access, a 514 response will include minimal request data, generating a small amount of traffic.
3. For terminal HTTPS protocol requests that are denied access, the number of HTTPS requests with a 514 response will not be included in HTTPS billing data.
4. For ECDN accelerated domain names, terminal requests that are denied access and return a 514 status code will incur request count fees.