Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

This question already has an answer here:

I have developed a Django application for a company. Now I am about to ship it to my customer. After reading through online articles and books, I understood that securing the source code of any web application is a challenge. Is there anything that I can think to secure my Django applications's source code? This will be my last chance to try.

My customer has servers that runs on Windows and Linux. Please help.

Efforts made till date:
I tried different techniques like variable mapping in the code, url designs and even folder protection in the server. Now the latest attempt is that I created a VM of my application with username and password being private. This VM will be maintained by me. This approach has its own pros and cons. Any suggestions? Saas is not a solution to my problem as my application should be deployed at the customer's server and served through intranet.

share|improve this question

marked as duplicate by gnat, MichaelT, Bart van Ingen Schenau, GlenH7, Kilian Foth Apr 23 '14 at 11:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
What are you trying to protect? Only your copyright or other things too? –  miniBill Apr 19 '14 at 6:36
    
I want to protect the Logic/Algorithm that is in the form of code in my django application. Before getting into legal protection route, I want the source code to be hidden from my customers. –  NaranRaj Apr 19 '14 at 6:44
    
Sharing your research helps everyone. Tell us what you've tried and why it didn’t meet your needs. This demonstrates that you’ve taken the time to try to help yourself, it saves us from reiterating obvious answers, and most of all it helps you get a more specific and relevant answer. Also see How to Ask –  gnat Apr 19 '14 at 7:17
    
@gnat, I have updated the question. –  NaranRaj Apr 19 '14 at 10:36

1 Answer 1

There are no definitive ways to stop a person determined to understand how your code works.

The only tools you can use to protect yourself are obfuscation and a lawyer-written license.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.