admin管理员组文章数量:1024592
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.
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.
Share Improve this question asked Mar 24, 2022 at 20:24 sebxx4sebxx4 491 gold badge1 silver badge7 bronze badges 2- 1 Related: stackoverflow./questions/43492726/… stackoverflow./questions/5257351/… webmasterworld./forum91/2378.htm superuser./questions/1398622/… – Jerry Jeremiah Commented Mar 24, 2022 at 20:38
- Maybe can I use google analitycs script to generate unique user ID? – sebxx4 Commented Apr 25, 2022 at 10:00
1 Answer
Reset to default 2Short 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 e 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 puter-wide would almost certainly be considered a serious security flaw, and would be patched rather quickly.
See this question for more details.
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.
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.
Share Improve this question asked Mar 24, 2022 at 20:24 sebxx4sebxx4 491 gold badge1 silver badge7 bronze badges 2- 1 Related: stackoverflow./questions/43492726/… stackoverflow./questions/5257351/… webmasterworld./forum91/2378.htm superuser./questions/1398622/… – Jerry Jeremiah Commented Mar 24, 2022 at 20:38
- Maybe can I use google analitycs script to generate unique user ID? – sebxx4 Commented Apr 25, 2022 at 10:00
1 Answer
Reset to default 2Short 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 e 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 puter-wide would almost certainly be considered a serious security flaw, and would be patched rather quickly.
See this question for more details.
本文标签: javascriptHow to get unique clientdevice idStack Overflow
版权声明:本文标题:javascript - How to get unique clientdevice id - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745621209a2159581.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论