R2-Explorer icon indicating copy to clipboard operation
R2-Explorer copied to clipboard

Worker/bucket Access Control

Open npullen2000 opened this issue 2 years ago • 2 comments

I hav the r2-explorer all configured and working properly. however I want to set up access control allow user1 to have access to 'bucket1', but not have access to 'bucket2'. Additionally, user2 has access to 'bucket2', but not 'bucket1'. How might I go about doing this?

Secondly, I want to only be able access my worker page through Cloudflare access portal and not publicly.

npullen2000 avatar Dec 12 '22 15:12 npullen2000

Hey @npullen2000 currently there are no permission configuration available in r2-explorer, maybe in the future that would be something to consider. I think the best approach for this would be for you to deploy 2 different r2-explorer workers, where you have bucket1 configured in the first and bucket2 in the second.

Regarding the Cloudflare access, you can learn how to configure it in this page here

G4brym avatar Dec 13 '22 19:12 G4brym

@G4brym I tried the repo yesterday and it looks promising! I used R2 to store my deepzoom images, which contain thousands of small images and it is impossible to upload via R2 Web UI, but this app handles it pretty well, though I have to split the uploading into multiple times. It would be best to have an upload progress to know how many files were uploaded and were not to retry

bangank36 avatar Mar 16 '23 10:03 bangank36