Jump to content


Photo

How to protect PHP script

code protection

  • Please log in to reply
4 replies to this topic

#1 vamsikrishna

vamsikrishna

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 05 November 2013 - 01: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

requinix

    Hopeless Member

  • Moderators
  • 5,902 posts
  • LocationWA

Posted 05 November 2013 - 02: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).

#3 GetFreaky

GetFreaky

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 06 January 2014 - 11:48 PM

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

anilk

    Member

  • Members
  • PipPip
  • 10 posts

Posted 16 January 2014 - 04: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

Augury

    Advanced Member

  • Members
  • PipPipPip
  • 98 posts

Posted 09 March 2014 - 07:48 PM

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

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com