I'm developing a webapplication working with PHP, SQL DB and other technologies. I'm always considering someone stealing the source code or using it to other means.
How can you prevent someone from stealing your source code? If that happens what is the security practices that you can place in order to prove later in court that that source code is yours?
I know some technologies that you can use to prevent and to secure your source code, such as:
- Encrypting your files;
- Using metadatas to add watermarks to your source code;
- Letting all your friends know that you are developing this webapp so you have an alibi;
I would like to know how can you properly secure your source code. How can you place measures to prove later in court that that source code is yours?
I don't know if this next question fits very well in here but I will give it a shot: What proofs are accepted by the court in case someone steals your source code? I'm asking this because I know that in my home country Portugal the courts can't accept Facebook messages as proofs.