Prevent the use of R2 video by others

Hello,

I am using R2 for my short videos for website backgrounds, and my website platform required .mp4 extension. I want to know how to prevent my videos from being used by other website owner, for their own websites.

Best Regards

I just tried to connect R2 to my domain, but there comes error message when I try to open my website now.

Error 404

This object could not be viewed

You are not authorized to view this object
This object does not exist or is not publicly accessible at this URL. Check the URL of the object that you’re looking for or contact the owner to enable Public access.

My custome domain name has been emerge.

But all of website pages, including homepage, which has ho any video/ object from cloudflare R2 also get 404 error.

If your website is at cometoourparty.com, then your R2 Custom Domain should not be using the same hostname. It should be something like media.cometoourparty.com

Hello @sdayman ,

Many thanks for giving me a clue. But how about to protecting my background videos from being used by website other than mine, is it possible?

Regards

Once you get the hostname issue straightened out, you can use something like Hotlink Protection:

https://developers.cloudflare.com/waf/tools/scrape-shield/hotlink-protection/

It is in paid plan, right?