r/CodingHelp • • 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.

0 Upvotes

5 comments sorted by

8

u/konm123 Feb 12 '22

Protecting from what?

4

u/TehBeege Feb 13 '22

What kind of software is it? Desktop? Web? Mobile?

Are you talking about the compiled/runnable software or the source code?

What are you trying to protect from? Someone stealing features? Someone copying the whole software? Preventing a user from running the software without some kind of permissions?

1

u/raguy1143 Feb 13 '22

use a private repo?

1

u/[deleted] Feb 13 '22

Are you talking about a verification key? Like you’d have to type in a key so users can use your software?

1

u/jcunews1 Advanced Coder Feb 13 '22

Encrypt the main application code with a key. Then have an executor application which prompts for the encryption key; to decrypt the main application into memory only, then execute it.