I have a website powered by WordPress. https://mymemevideos.com/
The core WordPress files are hosted on a web hosting service. I use R2 as a media file storage with the help of the Media Cloud plugin Media Cloud for Amazon S3, Cloudflare R2, Google Cloud Storage, DigitalOcean Spaces and more – WordPress plugin | WordPress.org
I have set up Hotlink Protection on my hosting, but I can’t do the same with my R2 files. Here is an example of such a file: https://pub-6487cd95037c4b3db6da3e3245796acf.r2.dev/2023/12/0dpy2uGU-mqdefault-3.jpg
I thought about linking a domain to the R2 bucket, but that would require changing the A record and disconnecting the domain from the hosting. This is not a suitable option. How can I prevent external websites from using files from my R2, while still being able to post them on my own site?