elegant-appointment-49116
10/20/2021, 7:00 PMrough-application-24965
10/20/2021, 7:19 PMloud-glass-33663
10/20/2021, 11:55 PMDo software always contact some licensing servers to validate?Yes. Nowadays, I think this is the simplest way to do this and most companies would be okay while doing it. Also, you need not ping the external server on every boot up -- but you can do it so that it contacts it once and saves a key locally which is tied to the particular hardware (for example) and if the hardware changes, they would need to validate again. So copy-pasting the key to a new machine won't work. What hardware you are looking for and what params you are picking up to generate the key are of course secret and not shared with the outside world.
Do software contact the product apis internally to validate the license and features allowed?In the example I shared above, the encrypted key that you are saving locally will have all the details and restrictions of what the product can and cannot do. So you not need to ping your own server to do this.
How does it work for solutions which wont allow external access?In these cases, your product can generate a simplistic bit of code which is tied to the hardware or any other thing that you want to bind the software to. So maybe a GUID or something similar. I remember Microsoft doing this. Then the client takes this GUID and tells it to you over the phone or emails it to you. This is essentially the same thing that your software would have sent your server in Option 1 -- but in this case, it needs to be small enough to be communicated verbally easily. (An alternate can be that your software generates a file which contains the same info as from Option 1 shared above -- but then it may become a hassle for the company to get this file to you from a machine which is locked out). Then once your company has this code, it saves it to your systems and generates a licence key based on this. This could be a file that you email them that they need to copy paste or a simpler thing like a Serial Key / GUID that they need to type in. Depends on how much you can stretch.
elegant-appointment-49116
10/26/2021, 7:52 AM