Re:Things you should know about Token-based Authentication
by woloski on Tuesday January 28, 2014 @12:23PM
(#7138321)
For images that are protected you can use this approach
http://blog.auth0.com/2014/01/27/ten-things-you-should-know-...
Re:Things you should know about Token-based Authentication
by mixedbit on Tuesday January 28, 2014 @12:33PM
(#7138391)
But with tokens in URLs you can do CSRF.
Re:Things you should know about Token-based Authentication
by jfroma on Tuesday January 28, 2014 @12:47PM
(#7138488)
No, you need the signed token for the link, that will only works for that particular url (protocol, host, path, query), for a breve period of time and only for GETs. As mentioned in the blog post, you can check hawk bewits:
For example, I can't use an 'img' HTML tag to include images that require authorization, because browser won't set a Bearer header while requesting images?