简体   繁体   中英

Getting Device ID using JQuery or Javascript

Is there a way to get the device's unique id using JQuery/JavaScript.

I know one can detect the user agent and type of device that is being used but that is not required. I need to know the unique id that is being used.

Having said that I also know that browser is the least priviliged application running on the machine and it should be able to get that id.

But still asking if there is a way?

Not possible as far as I know.

I believe it's a security issue. Your device ID is very sensitive information that you wouldn't want just any website being able to capture.

Update:

It's not possible (without any hackery at least) to physically distinguish the computers accessing a web site without the permission of their owners. You can store a cookie to identify the machine when it visits your site again but the key is that the user is in control, and rightly so.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM