Prosopo Protect at the Edge
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Prosopo Protect can run at the edge of your CDN so blocked and challenged requests never reach your origin. Two integrations are supported today:
- Cloudflare Workers — deploy alongside your Cloudflare zone.
- AWS Lambda@Edge — deploy in front of a CloudFront distribution.
Both integrations enforce the same policy: they consult the Prosopo Protect API on every incoming request and act on the returned verdict before it reaches your origin.
How it works
Section titled How it worksOn every request that hits your CDN:
- If the request has a
prosopo_sessioncookie the edge fetches the verdict for the session’s token from the Prosopo Protect API.allowpasses through to your origin;blockreturns a branded interstitial (or JSON error for API calls) with no origin fetch;challengeserves a captcha interstitial. - If the request has no cookie the edge asks Protect what to do. Protect evaluates your access-rule set (IP CIDR, ASN, IP category, country, User-Agent, JA4 TLS fingerprint) against the request. Rule matches return
blockorchallenge; if no rule matches and the path is an HTML SPA shell, the edge lets it through so the Protect script can create a session.
The blocked-response HTML and challenge interstitial are branded per site via your Prosopo dashboard: logo, colour palette, typography, and message strings all sanitised and rendered server-side by the edge.
Correlation
Section titled CorrelationEvery edge request is stamped with an X-Prosopo-Request-Id header that’s echoed on the response and written to the verdict audit log. From a support ticket you can grep straight to the verdict that fired.
What’s next
Section titled What’s nextPick your platform:
- Cloudflare Worker — install, configure, deploy, verify.
- AWS Lambda@Edge — same policy, deployed in front of CloudFront.
Before you deploy, your Prosopo site must be registered with the Protect service. Site registration is handled from your Prosopo dashboard or by your Prosopo account manager — you will need the site’s SS58 key (e.g. 5HSuC1s…) and a CLIENT_JWT signed by the site’s key to authenticate the edge to the Protect API.