Solved

How to get web client MAC Address

Posted on 2014-02-12
4
2,361 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web application structure 18 102
Adding multiple JVM environments to RedHat 6 7 49
Microsoft Azure Site-to-Site Tunnel to On-Prem 7 39
Setup GlassFish 4 22
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

828 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