my dog learned polymorphism*
The moose likes Java in General and the fly likes how to add Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to add "security key" functionality in the software." Watch "how to add "security key" functionality in the software." New topic
Author

how to add "security key" functionality in the software.

sabin ran
Greenhorn

Joined: Aug 06, 2010
Posts: 22
hi, i want to implement "security key" functionality in the java software so that only one system (clienta0 can use that software. this is to prevent multiple usage of my software. what i have to do? how to generate the keys and implement them. please help. thanks
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

there are many encryptions available.. MD5 being a popular one.


Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

Aniruddh Joshi wrote:there are many encryptions available.. MD5 being a popular one.


1) How does 'encryptions' solve the OP's problem?
2) MD5 is a digest and not an encryption.

Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18529
    
  40

James Sabre wrote:
1) How does 'encryptions' solve the OP's problem?


It normally works like this... There is some kind of functionality that the application wants to limit, or a condition that needs to be satisfied. The application uses a file that defines everything. For example, the application must be on a particular subnet, or can talk to a limited number of machines, or expires after a certain number of days, etc. All of this information are defined in some sort of file will lines that define all of this.

To detect that the file won't get changed, a checksum is added to the file. It could be MD5, but it is more likely something else is done in addition to that -- to make it more complicated or maybe make the checksum shorter or maybe only certain fields can't be changed.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to add "security key" functionality in the software.
 
Similar Threads
Single Logon
ecurity to software
Scope for Cyber Crime related Work
control of PrtScr key through java
File Upload