Jump to content

Recommended Posts

Posted

Problem you have if you encrypt a file , for a server to decrypt and process it, it will need the key you encrypted it with. So people can easy write out your decrypted file to a text file.

 

Give PHP BLENC a try.

Posted

Whilst there are systems available which can encrypt PHP, such as IonCube, they are not 100% secure. There are still ways to decrypt the files.

 

The question you should ask is - does the code actually need to be closed source? Could you sell it with a license that prohibits code usage outside of the system, and disallowing reuse? What is the likelihood that someone will steal the code?

  • 2 weeks later...
Posted

I don't think encryption would be the path you want to go down, the problem with encryption is that it's ruled by algorithms. If you know the algorithm, you can get the original code. Obfuscation would be more apt judging by your requirement; it will completely mess around with your code, renaming and generally throwing around everything so that it's completely unreadable (and unreversable to a certain extent) - the code will still work if they took it, but they'd have no idea how to use it or how to change it.

 

That being said, no amount of obfuscation or encryption can stop a keen cracker. If you JUST want to prevent skiddies taking your code, then use any obfuscation software (i'd recommend PHP Protect). If you're storing sensitive information or passwords, then obfuscation will only make it a bit harder for them to find them.

Posted
I don't think encryption would be the path you want to go down, the problem with encryption is that it's ruled by algorithms. If you know the algorithm, you can get the original code.

 

Sorry but that's not how encryption works at all.

 

Ben

Posted
I don't think encryption would be the path you want to go down, the problem with encryption is that it's ruled by algorithms. If you know the algorithm and the key/cipher you can get the original code.

 

Fixed.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...