I am looking for a solution for a Java based web application to uniquely identify a client. The server is on the same network as the clients, and I thought using a MAC address would be a good solution. The problem is that I cannot work with cookies because they can be deleted on the client side and I cannot use IP because they can simply issue a new DHCP lease renewal.
Therefore, I would like to return to the clients MAC address. I know that there is no built-in java function to get the MAC address. Is there a library that can handle the output of each OS? (basic Windows and Mac), as the Java application runs on both platforms.
or are there any other suggestions for the unique identification of the client on the website and the HTTP protocol? (maybe HTML5 datastores or something else)
I am using Java 1.7 btw.
I will not force the user to log in or otherwise identify themselves, and I will not program my own application for client smartphones.
source
share