Skip to content

Whats the difference between Download and CreateSignedURL? #1232

Answered by inian
IHIutch asked this question in Questions
Discussion options

You must be logged in to vote

Hi @IHIutch,

Both serve the same function of viewing the file. The main differences are

  • download returns the file directly whereas with signedURL you get the URL and need to make another request to view the file.
  • with a signedURL, you don't need to send any Authorization headers. This makes it easy to just put the URL in an image tag for example. With download you can't do this, since it requires a Authorization header.
  • With signedURL, you don't need to expose even your anonKey. If you quickly want to get a URL to your object, you can create a signed URL with a expiry and pass it around.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@IHIutch
Comment options

Comment options

You must be logged in to vote
1 reply
@IHIutch
Comment options

Answer selected by IHIutch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants