cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right 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: 

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

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

Tomzr
New member | Level 2

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

 

1 Reply 1

DB-Des
Dropbox 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!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    DB-Des Dropbox Engineer
What do Dropbox user levels mean?