Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker/bucket Access Control #5

Open
npullen2000 opened this issue Dec 12, 2022 · 2 comments
Open

Worker/bucket Access Control #5

npullen2000 opened this issue Dec 12, 2022 · 2 comments

Comments

@npullen2000
Copy link

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.

@G4brym
Copy link
Owner

G4brym commented Dec 13, 2022

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

@bangank36
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants