Restricting Number of users using a software package

Hai,I am developing a software package which is to be sold as 'licence per user'.The package is a bunch of webpages with a database.Any foolproof way of restricting the number of users it ?Any suggestions will be appreciated
[275 byte] By [annesrinivas] at [2007-9-26 7:31:35]
# 1
>Any foolproof way of restricting the number of users it ?One way is not to release it to any users. Then you are guaranteed to restrict the number of users to zero. Otherwise, no.
DrClap at 2007-7-1 17:29:32 > top of Java-index,Core,Core APIs...
# 2
There is a way I have devised that may work if you are using EJBs. Are you?
dubwai at 2007-7-1 17:29:32 > top of Java-index,Core,Core APIs...
# 3
Each user is running on a separate session. Try limit the number of session that can be open.
nickhung at 2007-7-1 17:29:32 > top of Java-index,Core,Core APIs...
# 4

Try using RMI with a licence server that is connected to thru RMI. IF your app does not get teh encrypted OK message, then it does not start. That way you know only your server did the licence check. Of course the pwd will be hardcoded but you can change it every so often as people generally do with each release.

dnoyeB at 2007-7-1 17:29:32 > top of Java-index,Core,Core APIs...
# 5
A bunch of webpages? In intenet? Why don't you make a custom login CGI,servlet,jsp and inc some number in your server, util it reaches the maximum.
mikaelkuisma at 2007-7-1 17:29:32 > top of Java-index,Core,Core APIs...