Protect video link on r2

I’m using R2. I have to open it publicly to use. I can only do it through r2.dev.
It’s so unfair when all other domains can use it once they have the link.
How can that file works on my domain only?

As per the R2 documentation

r2.dev public access

Disable public access to your r2.dev subdomain when using products like WAF or Cloudflare Access. If you do not disable public access, your bucket will remain publicly available through your r2.dev subdomain.

If you want to set up access control, configure a custom domain.

To restrict access to your custom domain’s bucket, use Cloudflare’s existing security products:

1 Like

I’ve set up the domain and don’t know how to stream the video once turned off the r2.dev.
Please give me an example.

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