Re:Ask HN: How does Quora auto login work?
by bbcbasic on Thursday November 17, 2016 @11:16PM
(#12984296)
ETag is for notifying that content has been updated, so how would you use the mechanism to log someone in?
Re:Ask HN: How does Quora auto login work?
by niftich on Thursday November 17, 2016 @11:22PM
(#12984331)
You can exploit the fact that HTTP caching sends the ETag back and forth. A server can set a crafted ETag and basically use it as a session ID. See [1][2]
[1] http://security.stackexchange.com/questions/12679/how-can-i-... [2] https://github.com/lucb1e/cookielesscookies/blob/master/inde...
https://en.wikipedia.org/wiki/HTTP_ETag