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
Java

Avatar of undefined
Last Comment
CEHJ
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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of gksinghiet
gksinghiet

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of InNoCenT_Ch1ld

ASKER

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..
Avatar of Mick Barry
Mick Barry
Flag of Australia image

> 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/
Avatar of InNoCenT_Ch1ld

ASKER

objects, sorry, i miss the example at the first page... i click on the link toooooo quick
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of InNoCenT_Ch1ld

ASKER

i'll leave this question open for a while before i close. tks
Avatar of InNoCenT_Ch1ld

ASKER

CEHJ, i'm actually developing a simple application for data processing, and not applet...
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Is it servlet/web based?
Avatar of InNoCenT_Ch1ld

ASKER

>>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.
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

>>I was thinking to develop it as client-server application

Well that's even easier then. You can use the code as is
Avatar of InNoCenT_Ch1ld

ASKER

but is this HD serial number unique? and do you mind telling me what it is actually?

tks in advanced ;-)
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

>>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
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

:-)
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo