Page 1 of 1

not to allow to change the source code

Posted: Sat Dec 27, 2008 2:35 am
by persiangulf
I have a php page that contains all the main classes that i use in the php web application and i include it in all the pages.The problem is that i have a snipped that check if the site is hosted from specific domain and no other domain is allowed to use the application.The users of application have the source code and easily can change it to skip this policy. would you please offer me a solution to not allowing users that have the source code can change this policy?

Re: not to allow to change the source code

Posted: Sat Dec 27, 2008 12:40 pm
by sergio-pro

Re: not to allow to change the source code

Posted: Sat Dec 27, 2008 6:24 pm
by Chris Corbyn
Have you licensed your software? That would be my first step 100% definite. Obfuscation doesn't warn people that they're not allowed to change your code. A license agreement would though.

Re: not to allow to change the source code

Posted: Sun Dec 28, 2008 1:47 am
by persiangulf
Chris Corbyn wrote:Have you licensed your software? That would be my first step 100% definite. Obfuscation doesn't warn people that they're not allowed to change your code. A license agreement would though.
Yes, you are write but as a matter of fact license does not work in my country!
Is it possible that i convert a php page to a binary file and include it in every page?
thanks php obfuscate is a great idea too.