Jump to content

Archived

This topic is now archived and is closed to further replies.

o3d

Protect php source code

Recommended Posts

 

keeB, you're making the assumption that your clients know what's best for them :)

 

Isn't it my job as a vendor to advise my clients when buying my software? As I said, if you're smart you lose nothing. Drop the price in lieu of a support contract, or increase the price for a 1-off.

 

Win win.

Share this post


Link to post
Share on other sites

If you're going to make a PHP extension, make one that includes a function for compiling a php string to opcodes (e.g. opcode_compile()), and a function that can execute a string containing opcodes (e.g. opcode_eval()).

 

Should be a mayor performance booster.

 

Now THAT I would have interest in.

 

EDIT: Apparently, something already exists: http://nl.php.net/manual/en/intro.bcompiler.php. Supposedly not stable though.

Share this post


Link to post
Share on other sites

@devreflex2004

 

Same problem , once client just ran away taking my script and not paying any money too :(

 

Original Code -> Base64 Encode -> DES Encrypt -> Encrypted Code [Encryption Process]

 

Encrypted Code -> DES Decrypt -> Base 64 Decode -> Original Code [Decryption Process]

 

I will try to use this . :)

Share this post


Link to post
Share on other sites

How that ever happens is beyond me .. ;x

Share this post


Link to post
Share on other sites

Password protection on every file and folder.Is also gøod idea.

Share this post


Link to post
Share on other sites

finally! i might have some good news for some here. i created a whole project to encrypt/decrypt php files. i currently use it on my production rig.

 

some minor knowledge of php extension compiling is necessary so i would suggest getting the book "Extending And Embedding PHP".

 

http://www.phphideit.org

Share this post


Link to post
Share on other sites

Check out v2. It now includes a date expiry feature where you can specify a date (optional). When the encrypted script gets executed after this date the php extension will return with an expiry error. Php programmers will now have more control over their software. If you're not sure if a customer will pay, then give them e.g. a 1 month trial.

 

I would appreciate any criticism and suggestions regarding this project.

Share this post


Link to post
Share on other sites

I am interested about the PHP hideit.  I am using windows actually.  can php hideit work on windows? I download the version 2 and use the hide.exe and may be encrypt successfully.  But i think to run the file correctly, we need the php extension(.dll) right? How to compile the php extenstion?

 

 

By the way. anyone here know how to compile php file into binary instead of encode or encrypt it?

 

Thank

Share this post


Link to post
Share on other sites

I am interested about the PHP hideit.  I am using windows actually.  can php hideit work on windows? I download the version 2 and use the hide.exe and may be encrypt successfully.  But i think to run the file correctly, we need the php extension(.dll) right? How to compile the php extenstion?

 

 

By the way. anyone here know how to compile php file into binary instead of encode or encrypt it?

 

Thank

 

check this link http://forums.opensuse.org/programming-scripting/394951-compile-php-script-how.html as well as this http://en.wikipedia.org/wiki/PHP.

 

It basically says that you can use zend's closed-source solution Zend optimizer (http://www.zend.com/products/guard/optimizer/) to compile your scripts so that some performance gains can be achieved. I however doubt that you will notice any performance enhancement over a few hundred nano seconds. But this might be a solution to your question. Wrt your question about the windows version, you'll need microsoft visual c or studio to build your extension. There are quite a few microsoft tutorials on the web. Let me know if you get it compiled so I can put it on the php hide it site  :)

Share this post


Link to post
Share on other sites
if its not open source' date=' its not trustworthy.[/quote']

 

I hope you realize the irony here.

Share this post


Link to post
Share on other sites

I know this is an OLD topic but br0ken how exactly did you construct a self-destruct sequence in your code?

That sounds interesting.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.