5kyy8lu3 Posted May 19, 2010 Share Posted May 19, 2010 Hi. I'd like a way to create a unique "Machine ID" of a client's machine. I'd like to be able to identify the machine regardless of the IP they appear behind. Is this possible using JS? I know a cookie can be set but the user can delete or disable cookies, or just use a proxy. If you'd like to know why, I'm basically creating a visitor log script, and wanted to have a way to keep track of machine id's to make tracking of malicious activity easier. Why JS? Since it's client-side, I figure I can get details of their machine, like screen resolution, local ip, user agent, etc and concatenate them and hash that to get a "machine ID". It sounds doable but I'm very very new to JS so I didn't know if this is a good method of doing so or if there's a better way of accomplishing this. Thanks ahead of time. Link to comment https://forums.phpfreaks.com/topic/202249-create-a-unique-machine-id-using-js/ Share on other sites More sharing options...
ignace Posted May 19, 2010 Share Posted May 19, 2010 Why JS? Since it's client-side, I figure I can get details of their machine, like screen resolution, local ip, user agent, etc and concatenate them and hash that to get a "machine ID". It won't work. Link to comment https://forums.phpfreaks.com/topic/202249-create-a-unique-machine-id-using-js/#findComment-1060523 Share on other sites More sharing options...
bulrush Posted May 25, 2010 Share Posted May 25, 2010 Since Win XP, each Windows XP computer has a unique machine ID, which is how Microsoft prevents Windows from being installed on more than one machine concurrently. This is available via Windows OS API calls, but I don't know more than that. If you can find out the API call, and call it via Javascript, you got your ID. This machine ID is based on a combination of the OS key, and hardware components, to virtually guarentee a unique id for each machine. Link to comment https://forums.phpfreaks.com/topic/202249-create-a-unique-machine-id-using-js/#findComment-1062964 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.