Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 742
Salman Avatar asked May 14 '13 13:05

Salman


1 Answers

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.

like image 193
Gurpreet Singh Avatar answered Oct 18 '22 22:10

Gurpreet Singh