R2 Storage objects accessibility

Hi Folks, just started using R2, according to Cloudflare we have to use workers to access R2 objects (all CRUD operations) but while using postman I found out that Cloudflare gives accessibility to buckets and objects using URL, though we need to add credentials token but still it is possible at least, so can we use similar method in our code and instead of workers can we use URL method for R2 operation.

Thanks in advance.

Where did you see this?

This is true for public access but the S3 API works perfectly fine for authenticated access

https://developers.cloudflare.com/r2/examples/

1 Like

by default all the buckets and objects are protected (not public), this info i read on some blog.S3 API means our workers or URL style?
Also I found one problem in URL access that is authentication token, when expires then we may get problem.

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