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

Forum Discussion

myavatarworld11's avatar
myavatarworld11
New member | Level 2
5 months ago

How can I get users to upload files to a specific Dropbox folder?

 

  • I want users to be able to upload files to a specific Dropbox folder from my website.
  • Problem: I’m unsure about the best way to set up this integration and ensure it’s secure.

 

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff

    Hi myavatarworld11, thanks for bringing this to our attention.

     

    Do you want the option to upload files to be secure, in the sense that not everyone can access the link to do so?

     

    Currently, there is the file request feature, which you can find out more information from here, however, this is a single link which anyone can click on to in order to upload files.

     

    This will help me to assist further!

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    myavatarworld11 wrote:
    • I want users to be able to upload files to a specific Dropbox folder from my website.

    ...


    Hi myavatarworld11,

    To do that, you need some sort of API integration (with or without using helper SDK). In general there are 2 ways to do so:

    • using generated upload link that desired file gets uploaded through (pre-generated in API);
    • using API upload calls (there are different options).

    Both ways have their pros and cons depending exact use case. Use what best matches your targets after get familiar with both.

     


    myavatarworld11 wrote:

    ...

    • Problem: I’m unsure about the best way to set up this integration and ensure it’s secure.

    I assume you will use your own account, not user accounts. To make sure everything is secure, perform all API calls (doesn't matter what way you select to upload) server side, NOT client side! If you select to use upload link, generate it server side and use client side only the link itself. If you select API upload calls, use your site as something like proxy. API calls require authentication, so if you perform client side calls, your credentials will be exposed - violating your own and your clients security. Just avoid exposing any credentials. That's it.

    Hope this gives direction.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

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!