I am developing a Django app to run on every client computer separately. The question is, which technologies should I use to distribute such as docker, virtual machine etc.? How can I protect the Django app's code? How can I prevent to distribute without licenses?
Asked
Active
Viewed 161 times
0
-
So give them the build version not source code itself. – ᴀʀᴍᴀɴ Nov 11 '19 at 07:36
-
Can you explain more and give me some resources? – quywter Nov 11 '19 at 07:38
-
Have you ever installed an app? did you saw the source code itself? NO! so you see the built version of code so you can use but you can't change source code (you can try but it won't be easy ) , there is some libraries for python to output `exe` version and publish it. – ᴀʀᴍᴀɴ Nov 11 '19 at 07:41
-
These .exe files that converted from Python to exe can be decompiled. So user can read the source code of the project. I installed app using version of code but at the same time I can access the source code of these projects using PyPi. – quywter Nov 11 '19 at 07:48
-
You should built some sort of way so decompiled version can't be understandable – ᴀʀᴍᴀɴ Nov 11 '19 at 07:49
-
Which way? Can you give me some references to further research? – quywter Nov 11 '19 at 07:53
-
https://stackoverflow.com/questions/3344115/how-to-obfuscate-python-code-effectively – ᴀʀᴍᴀɴ Nov 11 '19 at 07:54
1 Answers
0
I suggest you look into Heroku. They have a free plan too so you can test it without having to pay first. Their guide with django after you set up an app is good too. You will find everything in their documentation but if you get stuck, I recommend this video by Corey Schafer. Good luck
Edit: Heroku also supports Docker but I'm not too familiar with it. Might be useful to you

Nabeel Parkar
- 348
- 3
- 15
-
Thanks for the answer but I need to setup app to every users computer separately. Cloud is not an option for me. – quywter Nov 11 '19 at 07:49