> 
> **Possible Duplicates:**  
> 
> [How to protect your software code?](https://stackoverflow.com/questions/2368064/how-to-protect-your-software-code)  
> 
> [Protect my PHP App](https://stackoverflow.com/questions/2928755/protect-my-php-app) 
> 
> 
> 

Hi, I have a framework that I am wanting to be able to sell licenses for. I want people to be able to edit the code if they choose to (to a degree) but also I want to try and stop someone paying for the code and then just putting it up for download.

Is there a way that I can keep part of the code ( small piece of code that is ) on a server which each site using my framework will need to connect to use?

any help or ideas much appreciated.