Jason
Jason

Reputation: 79

to encrypt php or make it "call home"

I have a simple php script and want to protect it.

I'm ruling out ioncube as they'll hack it anyway and it'll increase my customer support.

I'm hearing about making the script "call home". Is that an alternative or is this the same as ioncube and similar encrypting software?

If this is a viable alternative, is there software or scripting that i can buy or learn to code to use this technique?

if calling home isn't the best answer, what is a better alternative for securing php scripts.

thanks for pointing me in the right direction.

Upvotes: 4

Views: 882

Answers (2)

Mikko Rantalainen
Mikko Rantalainen

Reputation: 15945

You may try to obfuscate the script but the real fix to this problem is by contract (that is, legal means as suggested by alex).

Make the buyer of your script to sign (or otherwise legally accept) an agreement/contract/license that says what you want them to do with your script. If you don't trust them to follow the agreement, do not transfer a copy of your source to them.

Otherwise, you're practically trying to invent a DRM system, which by definition does not exists. (For example: Playing MP3 songs without disclosing the path of the file)

Upvotes: 2

alex
alex

Reputation: 490253

If this PHP code is being distributed, what is there to stop someone from removing the call home code?

Protect your code through legal means instead.

Upvotes: 7

Related Questions