not to allow to change the source code

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
persiangulf
Forum Commoner
Posts: 30
Joined: Tue Jan 29, 2008 12:04 pm

not to allow to change the source code

Post 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?
User avatar
sergio-pro
Forum Commoner
Posts: 88
Joined: Sat Dec 27, 2008 12:26 pm

Re: not to allow to change the source code

Post by sergio-pro »

User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: not to allow to change the source code

Post 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.
persiangulf
Forum Commoner
Posts: 30
Joined: Tue Jan 29, 2008 12:04 pm

Re: not to allow to change the source code

Post 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.
Post Reply