Signing URL

Hello everyone,

I have questions about signing URLS with token. Has anyone implemented something?

I have file storage on a public cloud (AWS, Azure, GCP) and I want Cloudflare to sign (or encrypt) the URL. The purpose is not to share the real URL of the file and share a URL as expiry time.

CF Images has a similar function. But the file needs to be hosted inside the CF. It’s not my case.

CF Workers have encryption function, but only with Generate and Validate. Unfortunately, I can’t guarantee access only via CF. And the encrypted URL shows the source URL.
A CF bypass is easy.

Can anyone help?


You can have a look at my package, I believe it should work for you.
It is Key-Value, which is bucket, object and value.