Introduction
The Country Access Policy option of CDN Static, CDN Static Push, and CDN HTTP Live services allows you to protect your CDN content.
How to enable Country Access Policy
- Go to the Services/Settings page.
- Set the Country Access Policy option to:
- None - visitors from all countries can access the CDN service.
- Allow by default - visitors from all countries except countries specified in the Countries option can access the CDN service.
- Block by default - only visitors from countries specified in the Countries option can access the CDN service.
- Tick Countries related to the Policy above.
- Click on the Update Service button.
- That's all.
Example
Let's say that you want to allow visitors from the United States only. To achieve it you have to select Disable by default and then tick United States in the countries checkbox. Please note that if you select Allow by default and then tick United States in the countries checkbox then you allow visitors from all countries except the United States.
What next?
Read about the following topics.