0

How to identify user of my website in IP non-based way? I'm looking for something like fingerprint2.js, but user identity should be the same no matter if user change browser or ip address. One device = one const identifier.

sebxx4
  • 29
  • 1
  • 7
  • 1
    Related: https://stackoverflow.com/questions/43492726/how-can-i-read-the-users-computer-make-model-and-serial-number-from-inside-ms-e https://stackoverflow.com/questions/5257351/unique-serial-number-using-php-javascript https://www.webmasterworld.com/forum91/2378.htm https://superuser.com/questions/1398622/how-to-get-the-client-sidecomputer-bios-serial-number – Jerry Jeremiah Mar 24 '22 at 20:38
  • Maybe can I use google analitycs script to generate unique user ID? – sebxx4 Apr 25 '22 at 10:00

1 Answers1

2

Short answer is you can't, at least not reliably, especially with just JavaScript.

Existing fingerprinting techniques leverage what are essentially considered by vendors as security flaws in the information the browser exposes to try and come up with a unique "fingerprint" for a user. This relies on browser-specific features, though.

Something which provided enough info/allowed you to store data which escapes the sandbox of a specific browser and persistently identifies a user computer-wide would almost certainly be considered a serious security flaw, and would be patched rather quickly.

See this question for more details.

Sean Sutherland
  • 377
  • 2
  • 14