0

I have an iPhone app that needs to store images on AWS. I want to secure this so that if someone somehow gets access to the URL of the stored image they can't just hit the AWS server and see the image.

If that means I setup a backend (Ruby) API call where my iPhone app asks the backend for the image and then backend then fetches the AWS image data (bitmap data or something) and then passes it to the iPhone I am ok with that.

Has anyone done anything like this before?

jdog
  • 10,351
  • 29
  • 90
  • 165

1 Answers1

2

I believe this has been asked before, check this stackoverflow answer.

You will need a backend API of your own that provides temporary signed URLs for your S3 files, as the post suggests you can use the aws-sdk gem for that which makes it really simple to generate this, but AWS provides a few SDK's for different languages which you can check on the aws website under SDK & Tools.

Community
  • 1
  • 1
Herk
  • 181
  • 1
  • 8