I have built a system for our clients in JSP . Now I want to collect clients information with users permission . The following information will be got from our clients .
1. UUID 2. Hard disk serial number 3.Ip Address 4. MAC ADdress 5.PC AND OS info
Currently this is done with activeX object . But this system runs only in internet explorer browser . I want to change the system so that it will be browser independent .
I have thought several architecture.Let me allow to discuss about these architecture in a brief:
First Architecture (through JavaScript):
When the client will visit our web page, a pop up will be opened stating that ,"Do you allow to run this script ? " . If the user allows then the script will reside in clients pc . That script will be responsible for getting information about clients pc and sending information to our server . You can always consider the client will give permission to run the script as we will give directions to our client to run the script.
Second Architecture (through jar file)
A jar file will reside in every clients PC . This file will be responsible for getting information from clients pc and will send information to our server . Every client will be given a software . Upon installation of that software, jre will be installed and a jar file will reside in a specific directory . Another way to reside jar file in clients pc , Is it possible to push jar file to clients pc when they will visit our web application ? We want to it with their permission .
Third architecture (Through dll file):
A dll file written in C# will reside in clients pc . This dll file will be responsible for getting information from client pc . When client will first visit our web application , they will ask whether they want to give their permission to run the dll ? If they give permission , then the dll file will be kept clients pc and will be responsible for giving information of clients pc .
Does any of the above architecture make sense ? Can you give me some advantages and disadvantages of the above architecture ? If the task that has to be done by me is not possible by the above architecture/method , what steps can I take to get clients information?
I have researched a lot about this topic in the google . What I have learned that the modern browser restricts obtaining information from clients . But I want to get clients information with their valuable permission .
What I have tried:
I have tried to do this using several js library such as clientjs , nodejs. But clientjs is not capable of giving some information such as UUID , hard disk serial number . I have written a java code(desktop environment) which can take all information of a pc . But I cant call this code from my jsp page . I am also able to write a single C# code which can give output of clients information . But I can't call it from my jsp page .
Last note:
Hope what I want to tell is clear to everyone . Please help me to do this task or at least give me some idea/advice on how can I do it!
A last note to everyone is that our system is collecting information of users using ActiveX . This is only IE binded . I just want to do it browser independent.