aspose file tools*
The moose likes Distributed Java and the fly likes validating a physical machine to use the application! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "validating a physical machine to use the application!" Watch "validating a physical machine to use the application!" New topic
Author

validating a physical machine to use the application!

alex almero
Greenhorn

Joined: Jul 19, 2001
Posts: 6
What API can I use to write in Windows Registry or property file? There is java.util.properties, still I feel this is not what I need. I wanted to write on the Clients side and not on the Server side. I wanted this because I wanted to write a workstation ID on the client, so I would know that the workstation is valid to enter my site. Note that this is not a user restriction but rather a hardware restriction.
you can reach me thru this email for a more clarifications on the problem.
aalmero@lgsph.com
thanks in advance!
Gregory N. Mirsky
Greenhorn

Joined: Feb 05, 2002
Posts: 4
What would you do if the machine was a non-windows machine such as UNIX, MAC, SUN, etc?
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Assuming security is not an issue, setting a cookie file on the client machine seems like the best-known approach to accompishing this.
Writing to the registry is of course platform-specific, and while there may be a Java API to do this, you'd just have to google around to find someone's API.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
alex almero
Greenhorn

Joined: Jul 19, 2001
Posts: 6
Originally posted by Michael Ernest:
Assuming security is not an issue, setting a cookie file on the client machine seems like the best-known approach to accompishing this.
Writing to the registry is of course platform-specific, and while there may be a Java API to do this, you'd just have to google around to find someone's API.

but what if the user has disabled the cookie on his/her browser?
but assuming that the client is a windows platform, what could be the possible solution?
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validating a physical machine to use the application!