Solved

How to get web client MAC Address

Posted on 2014-02-12
4
2,333 Views
Last Modified: 2014-02-14
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
Comment
Question by:prabhualla
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 39855504
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
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 100 total points
ID: 39855726
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
 
LVL 8

Assisted Solution

by:Surrano
Surrano earned 150 total points
ID: 39858492
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
 

Author Closing Comment

by:prabhualla
ID: 39860794
Thanks..
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question