• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Security problem

 
Jerry Crothers
Ranch Hand
Posts: 34
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if someone has any suggestions on how to solve a security problem I have right now.

I have a swing client, it asks for a username and password to login to the application. The java code uses the http protocol to send the username and password to the server. The problem is the user can run this swing app and login from anywhere. I only want them to login from a single computer, so I am trying to find out how I can tie the username and password to the MAC address or something like that and check all 3 on the server side.

Thanks.
 
Yuan Ye
Ranch Hand
Posts: 172
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can get the Mac address using external calls on Windows and Linux. Windows: "ipconfig /all" or Linux: "sbin/ifconfig". Then catch the result and parse out the Mac address, send it with your user/password.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic