aspose file tools*
The moose likes Security and the fly likes Security problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Security problem" Watch "Security problem" New topic
Author

Security problem

Jerry Crothers
Ranch Hand

Joined: Mar 06, 2001
Posts: 34
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

Joined: Mar 05, 2003
Posts: 172
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
 
subject: Security problem
 
Similar Threads
set original page for j_security_check
login problem
Simple problem pls help
UserName and Password for starting Websphere Application Server5.0
Setting wsse:Security from Java swing client