Can i make R2 Objects Public like S3 Public

I have enbaled R2 and expect it to be like S3.
Now my plan is host the public data like images , pdf etc on it and then directly refer the link on my website.

Is it possible or not?

Buckets are not public. You can use Cloudflare workers to make them public

Guide:
https://developers.cloudflare.com/r2/get-started/

Is making public one time thing like

  1. Create worker and then make bucket public
  2. After then anyone can access all objects in that bucket

or in order to access object public , the request has to go via worker for every object in the bucket ?

This

The worker makes all the items in the bucket publicly available.

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