cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dropbox API scope

Dropbox API scope

aleksey_novikov
New member | Level 2

Hello everyone,

 

I'm learning a Dropbox API basics and I have a question about it. Can I allow API requests only for a specific folder? For example, Dropbox App can do everything inside `/api/` folder, but It can't manipulate files outside of it.  How can I achieve it?

 

Thanks. 

1 Reply 1

Greg-DB
Dropbox Staff

The Dropbox API unfortunately doesn't offer a way to register an app or access token for access to a specific existing folder only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

The closest thing currently available is the "app folder" permission. That would limit any access tokens for your app to a special app folder created for your app; it can't be set to a pre-existing folder though, nor can the special app folder be made into a shared folder, or contain or be contained in a shared folder. For accounts using the English locale, the app's app folder gets created by default inside the "/Apps" folder.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?