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

Dropbox: support for "App folder" access #86

Open
pataquets opened this issue Nov 9, 2020 · 1 comment
Open

Dropbox: support for "App folder" access #86

pataquets opened this issue Nov 9, 2020 · 1 comment

Comments

@pataquets
Copy link

Current implementation requires granting access to all files in your Dropbox.

If "app access" is used, application is restricted to a single Dropbox directory, without any access to files outside it.

Granting so much access might be a bit scary sometimes and app access gives users better peace of mind.

https://www.dropbox.com/developers/reference/developer-guide

@raucao
Copy link
Owner

raucao commented Nov 10, 2020

Thanks for the suggestion. The problem with this is that the idea of remoteStorage-enabled apps is that you can use the same data from different apps. However, Dropbox and Google Drive do not allow other apps to access Webmarks data when using the app access permission. This means no other app can access or write your bookmarks in that case.

With remoteStorage, which is what this app is mostly made for, there is a better permission model: Webmarks, and other apps wanting to access bookmarks, can request access (full or read-only) to only the bookmarks folder, without being able to access other data in your storage.

I'm wondering if I could create two different OAuth apps for the providers with insufficient permission models. One with global access, so that you can use different apps with the same data, and one with single-app access, for people who are not interested in accessing their bookmarks in any other app or browser extension. This would also need some changes in the widget and the remoteStorage.js configuration code.

The other option is to always use single-app access for Dropbox and GDrive, and tell people about the limitation. Then they can choose to switch to a remoteStorage account for a good reason.

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

2 participants