Want to know more about Dash? Check out how Amy uses Dropbox and Dash to make her day easier here!
Forum Discussion
rebornmedia
5 years agoNew member | Level 2
API - limit access to folders
Hi, I am looking at building an app with laravel to share client documents. Clients will log into the application and have access to only their files to download. I wanted to use dropbox api for this but i can't see a way in the docs to limit a user to a specific folder via the api? Could this be acheived through teams? It would be imporant a user can't access a folder of another user so when they log into the application they only get access to a dropbox folder that has their files in.
All files will be stored on a single dropbox account. Users will connect to that account. Is this possible?
Thanks in advance
2 Replies
- Greg-DB5 years ago
Dropbox Community Moderator
The Dropbox API was designed with the intention that each end-user would directly connect their own Dropbox account to the API app, in order to interact with their own files in their own Dropbox account. It's technically possible to connect to just one account, by always using a specific access token. Please be aware that we don't recommend or support doing so though, for various technical and security reasons.
Likewise, the Dropbox API does not currently offer the ability to restrict access to specific folders. The Dropbox API currently offers two levels of access: "Full Dropbox" and "App folder". An app with Full Dropbox access can access anything in the account. An app with App folder access can only access a special app folder created for the app in the connected account (and anything inside that app folder at any depth). You can find more information here.
- rebornmedia5 years agoNew member | Level 2
ok - Thank you very much for your detailed reply.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,017 PostsLatest Activity: 2 days ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!