Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Ihar Y.
10 years agoNew member | Level 1
Saver Drop-in authentication for download files
I use Saver Drop-in to save files from my site to user DropBox.
However I want to use forms or windows authentication in my site also for download file url's.
var options = {
files: [
// You can specify up to 100 files.
{'url': '...', 'filename': '...'},
{'url': '...', 'filename': '...'},
// ...
],
Is it possible to ensure that request comes from Dropbox service to save file for particular user who request it ?
Do you support some sort of authentication with OAuth or client certificates ?
If not, can usage of the businesses API help me ?
1 Reply
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
The Dropbox Saver doesn't offer authentication on the requests like this, nor is there a good way to verify that a request is actually coming from Dropbox that couldn't just be spoofed. That being the case, you can instead generate URLs that contain random, unguessable tokens, and/or that are time-limited.
The Dropbox API and Dropbox for Business API both offer entirely different interfaces, which may or may not be better suited for you, depending on exactly what you're looking to and what you're trying to prevent. For example, the /save_url endpoint works effectively the same way as the Saver, but the /files_put endpoint takes the data directly from the API client. Both of the API calls require an access token for the user account.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!