How to get client side MAC address with js, flash, java or etc. Using the crossbrowser method

How can I get the MAC address (or something unique for each computer - the least standard level of user knowledge) from the client side using js, flash, java, etc. using the crossbrowser method? You probably know that when we encode a survey, we should use cookies to prevent multiple voting. I could not find the javascript crossbrowser method (without MS IEs activex). Javascript, java applet or flash files will be welcome. thanks Caglar

+4
source share
2 answers

There are no standard Javascript APIs to get the mac address.

You can get this information using the Java applet, but you will need to sign it and have a policy file in order to access the hardware information, and it will not be really transparent to the user. See Obtaining a MAC Address on a Web Page Using the Java Applet

If you just need to keep track of the client, the most reliable thing you can do is use the API combination available by Javascript to create a persistent cookie. You can create a very persistent cookie using a combination of standard HTTP cookies, session storage APIs, caching tricks, and plugins. Evercookie is a great example: http://samy.pl/evercookie/

0
source

You cannot do this using JavaScript. Otherwise, anyone can lure you to their website, can look at your MAC address, and this will be a security problem. You can only do this through plugins. And the browser will have to offer the user to explicitly allow this plugin first.

0
source

All Articles