Country-based challenge support in Adobe Managed CDN/Fastly
This article explains whether Adobe Managed CDN/Fastly can natively present interactive or non-interactive challenges, such as CAPTCHA, based on the geographic origin of incoming requests. It also provides guidance on supported alternatives.
Description description
Environment
- Adobe Experience Manager as a Cloud Service
- Adobe Managed CDN/Fastly (all versions)
Issue/Symptoms
Organizations may need to present an interactive or non-interactive challenge, such as CAPTCHA or a browser challenge, to incoming requests originating from specific countries for security or compliance reasons.
- Country-specific incoming requests require an interactive or non-interactive challenge.
- The challenge needs to occur at the Adobe Managed CDN/Fastly layer.
- Configuration options, prerequisites, and limitations for country-based challenges need to be identified.
Cause
Adobe Managed CDN/Fastly doesn’t support presenting interactive or non-interactive challenges, such as CAPTCHA, natively at the CDN layer. It supports only allow or block actions based on country.
Resolution resolution
Follow these steps to resolve the issue:
- Review the supported CDN capabilities. Adobe Managed CDN/Fastly supports Traffic Filter Rules that allow or block requests based on the
clientCountryproperty. - Configure country-based blocking or allowing of traffic using the CDN configuration, for example,
cdn.yaml, and deploy it through the Cloud Manager configuration pipeline. - If a challenge mechanism, such as CAPTCHA, is required, implement it at the application layer, for example, within AEM or a custom web application, after the CDN forwards the request.
- Alternatively, use a third-party service or web application firewall (WAF) that supports challenge actions in front of Adobe Managed CDN.
- For details about configuring country-based traffic filtering, refer to the Adobe documentation for Traffic Filter Rules and configuring traffic at the CDN.
Related reading
recommendation-more-help
experience-cloud-kcs-help-kbarticles