imgix / ember-cli-imgix

Easily add imgix functionality to your Ember application
https://imgix.github.io/ember-cli-imgix
MIT License
26 stars 13 forks source link

Securing URLs #4

Closed sgasser closed 8 years ago

sgasser commented 8 years ago

Hi,

I'm using imgix with proxy as source. How could I secure my images?

paulstraw commented 8 years ago

Hey @sgasser, Web Proxy Sources can't actually be used with frontend JavaScript, as they require signed images. Since signing images on the frontend would expose your signing key, it would be very insecure. If you want to keep using a Web Proxy Source, you'll need to generate signed URLs on the backend and pass them to your Ember frontend. imgix-core-js provides signing functionality, if you want to integrate that. Feel free to reopen this if you have any further questions, and I'll be happy to help!