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

Forum Discussion

Tomzr's avatar
Tomzr
New member | Level 2
2 months ago

Presigned url : votre connexion à ce site n'est pas sécurisée

Bonjour,

 

Je génère des presigned download url via la librairie js Dropbox avec la fonction filesGetTemporaryLink.

Je génère ensuite un lien html de cette manière :

const link = document.createElement("a");
link.style.display = "none";
link.href = url;
link.download = filename;
link.target = "_blank";
document.body.append(link);
link.click();
 
Néanmoins, certains utilisateurs ne peuvent pas télécharger le fichier et obtiennent le message : votre connexion à ce site n'est pas sécurisée.
 
Y a t-il quelque chose à faire au moment de la génération de la presigned download url ? Ou le problème est au niveau des postes clients tentant de télécharger le fichier (proxy, antivirus, firewall etc.) ?
 
Merci d'avance

 

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

    Hi Tomzr,

     

    There are no additional actions that need to be taken when sending a request to /files/get_temporary_link to generate a temporary link.

     

    Since you have confirmed only some users get the error message, it could very well be security software blocking connection to the domain contained in the link.

     

    Feel free to reference the following article for a list of official domains used by Dropbox: https://help.dropbox.com/security/official-domains

     

    I hope you find this information helpful!

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!