Link to home
Start Free TrialLog in
Avatar of InNoCenT_Ch1ld
InNoCenT_Ch1ld

asked on

get machine id?

Hi, I need a way to make sure that only clients on some particular PC have access to certain resources reside at the server. Is there a way to identify the machine id of each PC, so that i can control PC01 have access and PC02 doesn't?

Tks
Avatar of InNoCenT_Ch1ld
InNoCenT_Ch1ld

ASKER

Or if there's a better way to do so, plz let me know.
SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
mac address might be the one i wanted, but the example shows only in c/c++..

gksinghiet, i'm not familiar with network, but my IT staff says that the ip address can be easily change..
> mac address might be the one i wanted, but the example shows only in c/c++..

yes you'll need native code to get it requiring JNI or Runtime.exec()

Implementation here:
http://jug.safehaus.org/
objects, sorry, i miss the example at the first page... i click on the link toooooo quick
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i'll leave this question open for a while before i close. tks
CEHJ, i'm actually developing a simple application for data processing, and not applet...
Is it servlet/web based?
>>Is it servlet/web based?

I was thinking to develop it as client-server application (not servlet/web) for internal use..
but there's a possibilities that i need to do it as servlet/jsp... haven't decide, but definitely no applet..

i just want to know how before i do it.
>>I was thinking to develop it as client-server application

Well that's even easier then. You can use the code as is
but is this HD serial number unique? and do you mind telling me what it is actually?

tks in advanced ;-)
>>but is this HD serial number unique?

Let's put it this way: its probability of being unique is higher than the IP address

>>and do you mind telling me what it is actually?

The serial number of the hard drive
:-)