We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Chase Denecke's avatar
Chase Denecke
Explorer | Level 3
3 years ago

Secure file downloads without a dropbox account

I'm currently building an app for users to get access to confidential data.   I like users authorized through our portal to be able to download files from our business dropbox account without the...
  • Greg-DB's avatar
    3 years ago

    The Dropbox API is generally meant for users to connect to their own accounts, but Dropbox itself does offer sharing functionality that can be used to share content to users who don't have their own Dropbox accounts. In particular, shared links can be useful for that. You can also modify these links for different behaviors, such as direct downloads.

     

    You can use the Dropbox API to create and list shared links programmatically, via /2/sharing/create_shared_link_with_settings and /2/sharing/list_shared_links, respectively. As long as you don't leak your access token to other users, i.e., make sure you only keep the access token server-side, you could use make those calls to get shared links as needed and pass those shared links to your end-users. (For reference, the /2/files/get_temporary_link functionality is similar and doesn't rely on actual shared links; it just makes a temporary link that's only valid for four hours. It only works for individual files though, not folders.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
325 Following

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!