Network license control for a Java application

Posted by user1461615 on Stack Overflow See other posts from Stack Overflow or by user1461615
Published on 2012-06-17T09:11:09Z Indexed on 2012/06/17 9:16 UTC
Read the original article Hit count: 127

Filed under:

I have been tasked with providing some form of network license control for a Java application. The app would be stored on a network drive and run from a client machine. The basic idea is that it will be able to work out how many times it is being run concurrently and prevent the N+1th user from running the software where N is the number of concurrent licenses the customer has purchased.

Is this possible somehow with a Java application? I implemented a "solution" which relied on multi-cast UDP communication between the running instances of the application but this didn't work because on most networks this kind of communication is blocked by security measures.

Is there a better way? I don't even mind if it requires JNI/JNA.

N.B. The solution does not have to be that sophisticated or highly secure.

© Stack Overflow or respective owner

Related posts about java