Answer the question
In order to leave comments, you need to log in
Is it possible to copy-protect Python code using Linux tools?
An embedded system is being designed, preliminarily on Raspberry PI (in the future, it is possible to switch to a computer of our own design on TI Sitara processors also under Linux). The main role of the computer, the user interface and non-real-time mathematics. I would like to develop a program for Linux in Python, but in such a way that it is impossible to copy the code.
Will it be possible to configure Linux so that the user cannot copy the program from the SD card (ext4 file system), and also does not have access to any Linux tools, except for the program interface (the program must be launched in full screen mode upon booting the OS).
Or do you still need to use the GTK + or Qt and C ++ frameworks?
Answer the question
In order to leave comments, you need to log in
No code that you distribute on clients can be protected. The same c++ can be stolen using reverse engineering and debugging. Use a remote server where all this will happen or all your code will be public anyway.
Are you a Linux user and want to develop a closed source program? Thank you, I laughed. But what about open-source software and putting the project on github?
The best you can achieve is to use any Python obfuscator to make the code harder to understand, and then optionally package it into a binary using pyinstaller. There is no way to protect yourself from theft of the file itself - only if you do not use some kind of hardware key that executes part of the code.
SELinux/AppArmour, but then you should keep root access as the apple of your eye.
PS As my colleague said: "Any development in Python automatically comes with open source".
You want to do what caused the actions themselves. The user, even if he has code with comments and documentation, will not do anything. Brain is not enough.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question