Jump to content


How to protect PHP script

code protection

  • Please log in to reply
4 replies to this topic

#1 vamsikrishna

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 05 November 2013 - 06:51 AM

In dotnet, there is something to create .dll files to protect the code. So the code can be used but not seen. Is there something like that to protect the script? Or is there any possibility to create a .dll file for our code so that we only share the .dll file and not the actual code.

#2 requinix

  • Administrators
  • Lazy Administrator
  • 9,373 posts
  • LocationWA

Posted 05 November 2013 - 07:16 AM

A .DLL made with .NET can be very easily decompiled into its source.

The best thing you can do with your code is license it. Second best would be something like ionCube (that being the only such product I know by name).
The Reimann Zeta Function Trolley Problem | "Summer is when I, the great ice fairy, can show my true power!"

#3 GetFreaky

  • Members
  • PipPipPip
  • Advanced Member
  • 48 posts

Posted 07 January 2014 - 04:48 AM

I wouldn't say DLL's convenience is "code protection", I think you are overlooking the benefits of linked libraries.



btw why are you worried about your code not being protected?

#4 anilk

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 16 January 2014 - 09:14 AM

You can protect your php code by PHP Protect which is a free obfuscation tool. It gives the power to you to protect your code from being altered.

#5 Augury

  • Members
  • PipPipPip
  • Advanced Member
  • 98 posts

Posted 10 March 2014 - 12:48 AM

I wouldn't use it if it wasn't readable.  I thought it was sort of the point of PHP.

btw why are you worried about your code not being protected?

Once someone else has it, its their problem then.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users