What's the difference between using R2 URL from worker vs Attaching R2 Bucket to worker?

I just noticed in our cloudflare worker that we're not attaching R2 buckets, but instead accessing R2 data via fetch and a public URL. What is the difference? Is there any clear advantage to attaching a bucket?
2 Replies
Hello, I’m Allie!
The fact that the R2 URL isn’t public, so your Worker can control how every object is accessed?
cake
cakeOP16mo ago
thank you
Want results from more Discord servers?
Add your server