Hello,
I have an accounting system for which we'd like to leverage our Dropbox Business subscription.
What I need is a Dropbox folder, shared with specific members only, and a way to create a Dropbox API access which will be limited to edit that specific folder.
In short, it would be an "App folder" but not restricted to a specific user.
The limitation would be made to ensure calls from the accounting system could not reach other parts of the company Dropbox (this point agrees with the DBX platform developer guide recommendation that "Your app should use the least privileged permission it can").
We thought about multiple options, but none seems to answer that need.
1/ Using the Dropbox API with "App folder" permission
If we create an app with that level of permission, and generate a token, a folder is created in the private part of the user Dropbox, but this App folder cannot be shared with other users, nor moved to a part where it would be shareable.
It is completely locked inside the private folder of the user, which makes it useless for our use case.
2/ Using the Dropbox API with "Full access"
The accounting system would have access not only to the folder we want to share, but also to every single document provided by Dropbox to our company.
A single programming mistake or breach would be problematic - this does not address our need.
3/ Trick: using the Dropbox API via a dedicated user
We tried creating a new "Bot" Dropbox user (attached to the company), then to use the Dropbox "groups" feature to forbid access to all folders except the one we want to share with that app.
If we create an app, this time with "Full access" (which is restricted thanks to the groups above), a programmatic access via the token can only see its own documents, not the company shared folder apparently, so this again does not address the need.
4/ Using the Dropbox Business API file access
If I understand correctly, a token created this way is able to impersonate any user, hence getting access to the whole Dropbox, so this does not address our need.
So this leads me to the question: is there a way to have programmatic access, restricted (for obvious security reasons) to a single folder, which is shared by N users ?
Many thanks,
-- Thibaut