3
I am developing some projects where I will use Django, but I will have to host the server on the client’s machine. Where it will be installed there is no internet, so I have to make the system work locally.
I need to know if somehow I can protect the source code, so that when someone tries to access the server and get my files they are somehow "unreadable".
Once I saw that in Asp it was possible to create a kind of code DLL, in Django there is something similar ?
How to compile a PHP file?
– rray
Take a look at PHP Encoder (http://www.ioncube.com/), unfortunately opensource encryptors do not do this very well, since some basically do a
base64_encode
in the code. Another opensource suggestion I saw comments on is PECL (http://pecl.php.net/package/BLENC), but I don’t know anything about. Also, using the legal modes, you can make a Term of Use of your project and an EULA.– Eduardo Silva
@rray, possible duplicate, huh. At least in relation to PHP, since the answers would go the same way
– Wallace Maxters
Why all this worry? rs
– Rod
Leaving the entire source code in the client’s machine is not a very good thing, right? Having it, someone can pick it up and use it around.
– Gabriel Duarte
So @rray, but Django is a Python framework and as far as I read the answers there, they seem to me only for php and not other language. I voted because I left it open.
– Guilherme Nascimento
@Guilhermenascimento, I know, had an issue that removed the php part :P see in the history, I did not vote p close. About python I found nothing has one on android. If you search for obfuscate code you find some results.
– rray
@rray My bad :p - Cool I’ll look for something too.
– Guilherme Nascimento
@Guilhermenascimento neither had I seen what part of php was removed if vc did not leave the haha warning. o
– rray
When you run a Django project it takes your files
.py
and generates the compilables.pyc
because you don’t try to upload only the files.pyc
for the customer’s environment?– LuKs Sys
In my view you must do this with a contract and not in the code. And by default, the law states that a custom computer program is the property of the customer.
– Karl Zillner