SourceGuardian 是目前市面上最先進的PHP Encoder，具有完整地ground-up rewrite、功能強大的GUI並涵蓋了最新版本的PHP。
SourceGuardian for PHP可以讓你快速又安全地編碼、編譯並將你的PHP文件進行加密，不僅能保護你的智慧財產權不被侵犯還可防止資料庫密碼被盜取。SourceGuardian可以限制scripts、IP和鎖定網域或是使用內鍵的授權機制。
使用SourceGuardian for PHP有什麼優點？
- 鎖定PHP Scripts在某一台機器上，這樣應用程式就不會被竊取或被挪用到公司以外的工作人員，防止智慧財產權被侵犯。
- Full support of PHP 7.2 encoding including all the latest language options: converting numeric keys in·
object/array casts, counting of non-countable objects, object typehint, new optimized opcodes.
- We fixed some issues with unexpected segfaults on 7.1 and some other problems. If you experienced
issues like that with your code, please re-encode with the latest version 11.2 of SourceGuardian and
install the recent loader.
Note, files encoded with SourceGuardian 11.0, 10.x or older need to be re-encoded with
SourceGuardian 11.2 in order to run them under PHP 7.2
- New loaders for PHP 7.2, updated loaders for older versions of PHP
We updated loaders and created new ones for PHP 7.2. Loaders for the following operating systems are
- Windows 32-bit (VC6, VC9; VC11 PHP 5.5, 5.6; VC14 PHP 7.0, 7.1; VC15 PHP 7.2)
- Windows 64-bit (VC11 PHP 5.5, 5.6; VC14 PHP 7.0, 7.1, VC15 PHP 7.2)
- MacOSX (universal binaries, include i386, x86_64)
- Linux (i386, x86_64)
We update the following loaders on request. Please check our blog and the loaders page for new
- FreeBSD (i386, x86_64)
- Linux ARM (armel)
- Linux ARM (armhf) Raspberry Pi (including Pi version 3) and other boards
Command line encoder updates
A minor addition which may be a great help for the users who encode from the command line. We
added "+" and "-" options for --phpversion. "+" means to encode for the specified version of PHP and
for all the newer versions which are supported by the current version of SourceGuardian. "-" means to
encode for all the supported versions of PHP except the specified one and all the lower versions,
which is useful if you always need to encode by default for new versions but do not need support for old versions starting from some one.
SourceGuardian protects your PHP scripts by compiling the PHP source code into a bytecode format, followed by encryption layers.
New GUI Interface and command-line encoder
We have created a new GUI for SourceGuardian, including Windows, Linux and Mac OS X also. This new GUI, combined with the powerful command-line encoder, makes it even easier to encrypt your PHP scripts.
PHP Protection methods
To protect your scripts from unauthorized usage SourceGuardian for PHP has added features that can optionally lock your scripts to run only from predefined IP addresses, domain names or LAN hardware addresses (MAC).
SourceGuardian for PHP can also easily produce trial versions of your scripts by setting an expiry date for your PHP scripts or by limiting the number of days that your protected script will work. To protect against local date changes for trial versions of your protected scripts there is an option for time checking using atomic online time servers.
For larger projects SourceGuardian for PHP provides an option to protect an entire project so that all scripts used in the project will work only with other protected scripts. This way scripts may include a protected script from an unprotected script and this adds another level of protection.
Here is a sample list of protection features
Encoding of HTML templates and other non-PHP files
We have added an option for encoding HTML templates, or other non-PHP files, using the SourceGuardian encoder. HTML templates or other non-PHP files may be encoded by the encoder, then read and decrypted from the protected scripts code. Template files which are encoded as part of the project may be used only from the protected scripts which were encoded as a part of the same project. It's impossible to use protected templates from unencoded scripts or from scripts encoded with a different SourceGuardian project.
To make it easier for our customers, and potential customers, we have added in built-in support to your application. Now there is no worry of emails from us being spam-trapped – all of our communication can be seen within the application itself. We also provide support via email and our helpdesk, but this way you can see when your support has been answered directly within SourceGuardian
Cross platform encoding
A script encoded under one operating system will run under any other supported operating systems. Currently we have the encoder for Windows, Linux and Macintosh. Protected scripts will work on Windows, Linux, OSX, FreeBSD, OpenBSD.
Script Loaders are available for these operating systems. Please find a list of all supported operating systems on our web site. In the near future we will support more operating systems and we can create a bespoke loader for your OS. Please contact us.
Supported PHP versions
最新版 SourceGuardian 11 支持的 PHP 版本：PHP 4.3.x, 4.4.x, 5.0- 7.3
SourceGuardian™ for Windows is a universal 32-bit GUI application which runs on 32-bit and 64-bit versions of Windows. Windows XP or later is required. A command line encoder is included. In addition, we also developed a powerful cross-platform GUI and command line encoders that runs under Macintosh and Linux.
SourceGuardian™ for Mac OS X is a universal GUI application which runs on Intel and PowerPC Macintosh computers. Mac OS X 10.4 or later is required. A command line encoder is included. In addition, we also developed a powerful cross-platform GUI and command line encoders that runs under Windows and Linux.
SourceGuardian™ for Linux is a GUI application since version 9.0. A command line encoder is also included. There are 32-bit and 64-bit versions of SourceGuardian for Linux. In addition, we also developed a powerful cross-platform GUI and command line encoders that runs under Macintosh and Windows.