• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2793
  • Last Modified:

How to get web client MAC Address

I want to get the web user/client mac address, i.e i want to restrict the users to open my web application with register mac address only. So other systems could not open my web application,
For example, if the user entered URL in the browser and enters, the request will go to the server, in the server side is it possible to capture the mac address of the client?,if it is possible i can restrict him to open my application by checking with my already registered mac addresses.

please help me.
0
prabhualla
Asked:
prabhualla
3 Solutions
 
Dave BaldwinFixer of ProblemsCommented:
You can't do that.  The user's MAC address is only available on the LAN to connect to another point on the LAN.  It does not get transferred thru a router or modem or server from the user to your server.
0
 
CEHJCommented:
Let's say you could get it ;)

a. what are you going to do if the perfectly legitimate user plugs in a better usb wifi adapter (with a different MAC address)?
b. what's wrong with doing what everyone else does - making the user log in initially?
0
 
SurranoSystem EngineerCommented:
mac address has no meaning beyond LAN. And absolutely no meaning on APP level. You may use IP addresses instead but only if they are fix IP addresses (no NAT, no DHCP etc) for all the clients.  

Well, IPv6 addresses are *somewhat* related to MAC but even then, I wouldn't take it for granted.

I second CEHJ that you should use some kind of secure authentication either by username or by RSA (or whatever) keys.
0
 
prabhuallaAuthor Commented:
Thanks..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now