Enhancing Download Link Security with Cloudflare

What is the name of the domain?

What is the issue you’re encountering

Hi everyone, I have an e-commerce website that sells digital products. I’m hosting the download links on Google Drive but I’m concerned about the security and unauthorized sharing of these links. Do you think I can use Cloudflare Workers to make these links more secure? For example, can I make it so that only authenticated users can access the files, or generate a new unique link every time a file is downloaded? I would appreciate it if you could share your experiences and solutions. CloudflareWorkers Security #download #authentication

Hi there,

That will always be a problem when using Google Drive, since as far as I know, you can’t generate multiple unique links, so when a link finds its way into the wild, your only option is to stop that share.
You can consider sharing it specifically with certain users, but that would require them to also have a Google account.

Since you’re using WordPress, this might be the best solution for you:

If you’d still rather use workers, then this might not be exactly what you requested, but you can use the same principle to build from:

Do note that this is not created or maintained by Cloudflare, so use it at your own risk.

Take care.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.