cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

Saver Drop-in authentication for download files

Ihar Y. New member | Level 1
New member | Level 1
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 1

Re: Saver Drop-in authentication for download files

Dropboxer
Dropboxer

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.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?