Back to front pageView on Hacker News (opens in a new tab)Show HN: Your Social Media Fingerprint (maybe NSFW) (opens in a new tab)robinlinus.github.io911 pointsby Capira (on Hacker News)10 years agorobinlinus.github.io (opens in a new tab)Your Social Media FingerprintWithout your consent most major web platforms leak whether you are logged in. This allows any website to detect on which platforms you're signed up. Since there are lots of platforms with specific demographics an attacker could reason…Comments (247) 63 threadsShow all commentsShowing thread 25 of 63[-]nodesocket10 years ago1 reply#Couldn't this be fixed by instead of using ?next= in the query string storing a cookie.For example: if(!auth) { setCookie('next', '/url-here', 1h); } redirect(login); Login page action: if(cookieExists('next')) { next = getCookie('next'); deleteCookie('next'); redirect(next); } else { redirect('dashboard'); }detaro10 years ago#Could easily muddle state with multiple tabs though, query string is clearer.
Show HN: Your Social Media Fingerprint (maybe NSFW) (opens in a new tab)robinlinus.github.io911 pointsby Capira (on Hacker News)10 years ago
nodesocket10 years ago1 reply#Couldn't this be fixed by instead of using ?next= in the query string storing a cookie.For example: if(!auth) { setCookie('next', '/url-here', 1h); } redirect(login); Login page action: if(cookieExists('next')) { next = getCookie('next'); deleteCookie('next'); redirect(next); } else { redirect('dashboard'); }
Comments (247) 63 threads
Show all comments
Showing thread 25 of 63
For example:
Login page action: