Software Security
-
What i have to do is to limit the amount of users able to access an application over the network at the same time. The application i am talking about ist not a client server app. It's just something like a calculator sitting on a network cd-rom drive. i have to find out, how many users started this application on their workstation. If the limit of users has been reached, the next user shall not be able to start it. i have not the slightest idea how to achieve this. Could someone please give me a hint?
-
What i have to do is to limit the amount of users able to access an application over the network at the same time. The application i am talking about ist not a client server app. It's just something like a calculator sitting on a network cd-rom drive. i have to find out, how many users started this application on their workstation. If the limit of users has been reached, the next user shall not be able to start it. i have not the slightest idea how to achieve this. Could someone please give me a hint?
The only way I know of to acheive this without a client server architecture is to have users install some registry entries on their local computer and pay for an individual license. "Harland Pepper, would you stop naming nuts" - Harland Pepper
-
What i have to do is to limit the amount of users able to access an application over the network at the same time. The application i am talking about ist not a client server app. It's just something like a calculator sitting on a network cd-rom drive. i have to find out, how many users started this application on their workstation. If the limit of users has been reached, the next user shall not be able to start it. i have not the slightest idea how to achieve this. Could someone please give me a hint?
I'm not sure it would work, but you could try this... Each time the program starts up, have it modify a system registry key to increment how many instances of the program are running. Each time the program terminates, have it modify that same system registry key to decrement the number of instances running. That way, when the program starts, it can check the value of that system registry key. If it is equal to a cut-off value, the program terminates itself. In that instance, you can either have the program increment the key and then decrement as usual upon termination, or include some flag to tell it not to decrement the registry key. I would lean toward having the program increment the registry key, check its value and if above the cut-off, terminate itself and decrement the key as usual (a little more consistency in function that way). Let me know if it works.
-
What i have to do is to limit the amount of users able to access an application over the network at the same time. The application i am talking about ist not a client server app. It's just something like a calculator sitting on a network cd-rom drive. i have to find out, how many users started this application on their workstation. If the limit of users has been reached, the next user shall not be able to start it. i have not the slightest idea how to achieve this. Could someone please give me a hint?
There are commercial products that claim they do this. Check them at the link given below: http://dmoz.org/Computers/Programming/Component\_Frameworks/COM/Components/Software\_Protection/ and http://vbxtras.com/categories/trail+copyprotectioncomponent+util.asp I used Crypto32 SDK. It does this. Its api is OK. Thanks Puri