Hacker News new | ask | show | jobs
by kleiba2 48 days ago
Cookies can be up to 4kb in size - that should be enough to encode a fingerprint of your device.
1 comments

The cookie should always be minimal and arbitrary. If you want to fingerprint the device and have confidence in that correctness it's something you should store on the server (or at least store a hash of on the server).

Anything that is on a client device can be manipulated without your awareness.