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.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Creating Temporary access to download files with random credential instead of common password

Creating Temporary access to download files with random credential instead of common password

JohnPeterD
New member | Level 2

We have a mobile application with multiple users accounts, everyone needs to download the certain files from dropbox. But we don't want to make the dropbox files to give public access or not to manage through team users in dropbox. What would be the best way to make the download process secured for each user.

We want create temporary links / access to download files by user with separate credential

6 Replies 6

Zed
Dropbox Staff

Hey @JohnPeterD,,

 

Would creating password - protected shared links help on this?

 

If not, could you please provide more details on what exactly you are trying to do? 

 

Thanks!




Zed
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so please mark it for some Kudos below. 
:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
:arrows_counterclockwise: Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

JohnPeterD
New member | Level 2

We are providing API to mobile application users, so we need to provide temporary access to download a file who calls an API like this /media/{id}/download. So we need set password or create temporary link to download the file. we need to acheive this throuh dropbox API.

we checked shared_link API "https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_create_shared_link_with_settings" with expires / password but when we try to create another link it throws link already exists. we want to create different link for each request and set different password. A new temporary link for each request. The link can even expire withing five minutes

Zed
Dropbox Staff

Thanks for clarifying this, I'd recommend posting this question in the API Support area of our forum to get the best help possible on this.

 

Thank you!




Zed
Community Moderator @ Dropbox
https://dropbox.com/support


Heart Did this post help you? If so please mark it for some Kudos below. 
:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
:arrows_counterclockwise: Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

JohnPeterD
New member | Level 2

We have a mobile application with multiple users accounts, everyone needs to download the certain files from dropbox. But we don't want to make the dropbox files to give public access or not to manage through team users in dropbox. What would be the best way to make the download process secured for each user.

We want to create temporary links / access / any other way to download files by user with separate credential

 

We are providing API to mobile application users, so we need to provide temporary access to download a file who calls an API like this /media/{id}/download. So we need set password or create temporary link to download the file. we need to acheive this throuh dropbox API. we checked shared_link API "https://dropbox.github.io/dropbox-api-v2-explorer/#sharing_create_shared_link_with_settings" with expires / password but when we try to create another link it throws link already exists. we want to create different link for each request and set different password. A new temporary link for each request. The link can even expire withing five minutes

Rich
Super User II

[Moved to the API forum]

Greg-DB
Dropbox Staff

It sounds like the closest thing the Dropbox API offers is the get_temporary_link endpoint:

 

https://dropbox.github.io/dropbox-api-v2-explorer/#files_get_temporary_link

 

You can call that to get a temporary link that expires in four hours, and you can call it multiple times to get different links. You can't add a password or configure the time limit though.

 

Need more support?