News for hackers. Stuff that matters.
Re:Show HN: Server-Side Tracking Without Cookies in Go by hankchinaski on Sunday June 28, 2020 @08:55AM (#23668409)
I once built a cookie-less tracking app without using IP address or user agent. The idea came from this[0]. It would serve a file to the user with an etag that let the browser cache the file for an indefinite period of time (effectively acting as a cookie but not being classified as one). There might be some quirks as the caching behaviour is not guaranteed (I think the caching is discretionary to the browser based also on the available cache). But it is an interesting approach to use something that is similar to a cookie but technically isn’t.

Also user agents are not unique[1] but combined with IP addresses should be pretty safe to assume the fingerprint generated from both is.

[0] https://lucb1e.com/rp/cookielesscookies/ [1] https://www.eff.org/deeplinks/2010/01/tracking-by-user-agent

Re:Show HN: Server-Side Tracking Without Cookies in Go by stunt on Sunday June 28, 2020 @09:51AM (#23668677)
I first saw ETAG method on evercookie project. HTML5 Canvas is also a funny/smart technique that I saw there. https://github.com/samyk/evercookie

One of the purposes of the evercookie project was to have a collection of tracking methods that browser vendors can test against their implementation.

Re:Show HN: Server-Side Tracking Without Cookies in Go by marvinblum on Sunday June 28, 2020 @09:00AM (#23668429)
Ah yes I've read about that method too, but I think it's saver to use the user-agent and IP address as that's probably more reliable. The browser might ignore the ETag.
Re:Show HN: Server-Side Tracking Without Cookies in Go by vertex-four on Sunday June 28, 2020 @09:21AM (#23668524)
The cookie law covers evercookies like this, so it's not a way to get around that or the GDPR, just around people who turn cookies off.
Re:Show HN: Server-Side Tracking Without Cookies in Go by hankchinaski on Sunday June 28, 2020 @03:48PM (#23671517)
didn't know that - thanks