That's not possible. If you want to limit your web page to IE users you may be able to embed some ActiveX object that can access the MAC, but chances are the user/the browser won't allow that object to run.
What is the purpose of wanting to know the MAC?
Joined: Oct 02, 2008
I wants a solution which can run on at least IE and mozilla browser. actually we are providing a free wifi service to our customers but only one time, so i need to identify the user uniquely for that i think MAC is a good option so that customer can not get our free service more than once.
Have you any idea to get MAC address on any browser or any other idea to identify the user's machine uniquely.
Thanks for your reply
Joined: Mar 22, 2005
Java can't get at the MAC. You could embed a signed applet that uses JNI to get at that information, but that would be a something of a hack.
Could you provide users with a one-time code that they need to enter to use this service?
Scratch ActiveX then. It won't run on Mozilla. Then again, the only ActiveVirus[TM] that I permit to operate even under IE is the Windows Update - because Microsoft doesn't offer a an option not to, and the alternative is to not get this afternoon's shipment of critical Windows Security Updates.
A simple cookie will be enough to block most honest people. A one-time access code works even better.
If you really wanted hardware-level detection, I suppose you could get LinkSys Linux-based WiFi routers and hack the OS. With an option to push the ARP tables back to a central server if you expect people to wander around trying different WiFi access points. Assuming you have more than one access point.
Customer surveys are for companies who didn't pay proper attention to begin with.