1

I am developing one web application, in that I need to restrict users.

Some particular system can only access my web application because of some security process. I tried but I can get Server system Mac address only.

So please let me find out the solution.I hope someone will find me the solution.

Maroun
  • 94,125
  • 30
  • 188
  • 241
Anand Kumar
  • 389
  • 1
  • 7
  • 21
  • can you post code,just to see how you connects to client – Akash Shinde Apr 08 '15 at 06:00
  • take a look at http://stackoverflow.com/questions/14830336/java-get-uuid-or-mac-address-from-client – Akash Shinde Apr 08 '15 at 06:02
  • @reto yeah off course they are connected in same LAN. – Anand Kumar Apr 08 '15 at 06:02
  • @AkashShinde if i use that code means it wont get client system MAC address. It just gets only server system MAC address. – Anand Kumar Apr 08 '15 at 06:14
  • 1
    You will not get the mac address from a browser (http session) just the ip, and you cant rely on the ip as you may get a routers ip. Why cant you just use user authentication ? – Kenneth Clark Apr 08 '15 at 06:24
  • @KennethClark Actually my need was my web application needs to run in particular registered systems that is why am struggling – Anand Kumar Apr 08 '15 at 06:28
  • why don't you use UUID instead of mac address then? – Akash Shinde Apr 08 '15 at 06:33
  • 1
    Can you please elaborate on your security requirements? Is it system to system, or any "registered user"? – Kenneth Clark Apr 08 '15 at 06:36
  • @KennethClark in my application, there is a registration process in that they want to choose how many connections they need to use,based on that we want to provide connections. – Anand Kumar Apr 08 '15 at 06:39
  • @KennethClark he is trying to restrict the user's system to access the application with in the LAN.he is try to identify the user with in the LAN is having the permission to access the application\ – KVK Apr 08 '15 at 06:40
  • @AkashShinde using UUID is not suits for me because i need to run my application in particular systems only not in any other systems. – Anand Kumar Apr 08 '15 at 06:44
  • If you are within an internal lan you could potentially control access via Apache (htaccess or directory access) this works at ip address level. This will just allow pc's to connect, you will need further authentication such as ldap and provide role level security if you need to restrict usecases within your application – Kenneth Clark Apr 08 '15 at 07:02

0 Answers0