Subject | Re: Controlling the Number of Simultaneous Users |
---|---|
Author | Dan Cooperstock |
Post date | 2007-11-30T21:52:58Z |
--- In firebird-support@yahoogroups.com, Lee Jenkins <lee@...> wrote:
(Association of Shareware Professionals) forum suggested, which is to
send out a multicast UDP packet on startup, that other instances of
my program on the same subnet respond to with "Yes, I'm here". The
sender counts the responses, and if they exceed the licensed # of
users (minus one, to allow the sender to run), prevents the sender
from running.
This actually seems a bit simpler, because it doesn't need a server
program, and isn't affected by crashes.
Any comments on that idea? Thanks.
> The problem is that your licensing might be fairly easilycircumvented through
> the database, IMO.based "License
>
> I had a need to do what you're doing and simply created a TCP
> Manager" that runs as a service (or app depending on OS) on theserver or master
> computer. When workstations start the software, the software usesencrypted
> communication to talk with the license manager to saybasically "hey, can I
> run?", the license manager says "well, only 4 out of 7 licenses arebeing used
> so sure!". The used count get incremented. When workstationsshutdown the
> software, the software logs into the license manager again to "logout" thereby
> freeing up another license.clearance to
>
> The license manager also tracks the IP of the workstation that gets
> run so that if the workstation or license manager were to go downfor some
> reason, the license manager would read the IP of the incomingrequest when
> restarted and determine that the workstation was already allowed torun.
>database. Of
> All in all, works very well and I keep that logic out of the
> course, a determined hacker/cracker would still be able tocircumvent the system
> with some work which I know from experience, but it serves itspurpose well.
>That idea is fairly similar to the idea someone on an ASP
> --
> Warm Regards,
>
> Lee
(Association of Shareware Professionals) forum suggested, which is to
send out a multicast UDP packet on startup, that other instances of
my program on the same subnet respond to with "Yes, I'm here". The
sender counts the responses, and if they exceed the licensed # of
users (minus one, to allow the sender to run), prevents the sender
from running.
This actually seems a bit simpler, because it doesn't need a server
program, and isn't affected by crashes.
Any comments on that idea? Thanks.