Note: I’m a Cloudflare employee, the content of this blog only results of my own experience of the platform and the opinions shared in the articles (if so) are only mine. If you’re an existing customer, please contact your usual contacts to get help
Recent Posts
Validating HMAC tokens with Cloudflare
Introduction HMAC is widely for securing access to content with expirable tokens. HMAC stands for Hash-Based Message Authentication Code and the goal of this article is to learn how to manipulate and use HMAC tokens in combination with Cloudflare.
Cloudflare mostly provides two ways to deal with HMAC tokens:
Firewall rules https://developers.cloudflare.com/firewall/recipes/require-valid-hmac-token/ Workers (Cloudflare’s Serverless platform) - https://developers.cloudflare.com/workers/examples/signing-requests/ The first thing to know about HMAC is actually how to use it efficiently.
read more