DEV Community

Sebastian-Nielsen
Sebastian-Nielsen

Posted on

License managers for python

I know that a python exe file easily can get decompiled and the license code easily can get bypassed too. However my target group is not smart enough nor have the time for that stuff.
I would like to make a simple license manager, one that requires a key for each costumer. (I would prefer it is a free one)

Any ideas?

Let's discuss the pros the cons of each possibility.

Discussion (1)

Collapse
nektro profile image
Meghan (she/her)

you could give them a "key" that is a hash of their user ID and the time of registration or something identifiable like that. then, when they open your program, ping your server in the background, verifying that the key is valid and belongs to the database as well as the user stored on the local machine.