I want to get mac address from client machine.when any client hit on the add to cart button at any e-commerce website automatic mac id send to be the server side using javascript or angularjs code.
How to get mac address from client machine through javascript.
Collapse
X
-
Tags: None
-
simple answer: it is impossible with javascript - and for a good reason - because it would be a security risk. the mac address is something that is a unique identifier of a networkcard - thus would identify a machine. being able to get that id through javascript would allow any website to collect them and then in case could allow to spoof attack with the collected mac addresses.
PS: the point is - what is the purpose that you want to solve with the collection of the mac address - there is for sure a different solution that is doable instead of fishing for the mac addresses.Last edited by gits; May 30 '18, 01:00 PM.
Comment