I am developing a CMS in PHP, MySQL for a company in partnership. As you all know PHP is an open source language and it is really easy for a user to resell my software to another client or even publish it online for free. I have an agreement with the company stating that the company is not allowed to modify/extend/reproduce the copy of the application by any form digital or printed.
Since its just a non-technical solution which doesn't really secure the future of my application, am thinking of tracking my CMS and retrieve the domains in which the CMS is being installed and thereby i could create an call function which shuts down the user from using my application without my knowledge and yes ofcourse i can secure that function being accessed by any hackers out there so my loyal customers are safe from any hack attack on my CMS.
I also considered the idea of generating a license key and i could put a facility where if the license key entered is wrong while installation, then the application self destructs itself and thereby securing my application. I know it might seem a little rude but we have to protect our web applications/our own hard work from being used by the companies for free. Cuz honestly i had already 3 months of dedication on this and i almost finished preparing the BETA version of my application.
Really do appreciate your response and any suggestions in advance....Thanks.