The Country Filtering feature uses the requester's geolocationRefers to the geographical location of the requester. For example, if a user requests content from Paris, then that user's geolocation is typically France (i.e., FR). to determine whether access should be granted to the requested content.
Secure content on a per country basis by performing the following steps:
Launch the Country Filtering wizard through which a Country Filtering configuration will be created.
Navigate to the Country Filtering page.
Click Add Country Filter.
The next step requires defining:
The relative path to a directory that will be secured.
The specified relative path will be compared against the URL that was requested to determine whether it should be secured. The starting point for this comparison varies by origin and URL type.
Secure all requests by setting the relative path to:
/
Directly below the specified relative path, select Allow to only allow requests from specific countries. All other requests will be denied.
Define the set of countries that will be allowed or blocked.
Click Next. A paginated list of countries will be listed.
Click "10" at the bottom of the page. Mark the checkbox next to the United States.
Click Finish.
A summary of the newly created Country Filtering configuration will be displayed. The Country Filtering configuration created in this tutorial only allows requests from the United States. Requests from all other countries will be denied.
If requests from countries other than the United States should be allowed, please delete this configuration by clicking the icon that appears next to it.
It may take up to an hour for changes to take effect.
Edgecast CDN