Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Software Security

Software Security

Scheduled Pinned Locked Moved Article Writing
sysadminsecuritytutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gunnar Matzler
    wrote on last edited by
    #1

    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?

    D D L 3 Replies Last reply
    0
    • G Gunnar Matzler

      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?

      D Offline
      D Offline
      Dark Angel
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • G Gunnar Matzler

        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?

        D Offline
        D Offline
        David Fleming
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • G Gunnar Matzler

          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?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups