r/programminghelp • u/dell_archer • Feb 12 '22
Python Protecting my software.
I'd like to try something like this: Set a specific password for the software, secure it so that it can't be easily read, also secure the whole code.
5
Upvotes
0
4
u/[deleted] Feb 12 '22
Short Answer: Why? And No.
Long Answer: I don't even want to get started on how asinine I think it is when people want to try to protect their source code from prying eyes. This link has a better answer than you're going to get here: https://stackoverflow.com/questions/261638/how-do-i-protect-python-code-from-being-read-by-users
Ranty Answer: There's literally nothing you can do to prevent an interested party (or an idiot with 10 minutes of googling and a little dedication) from decompiling compiled python or any other language, be it DLLs, EXEs, or anything else.
If you want to protect your code, write something worth protecting then find a good trademark and patent lawyer that you can consult and hire.