Php Security-php code protection

Source: Internet
Author: User
1. how to protect your PHP code? Prevent leakage. I only know that there is an encrypted zendguard, but it is not actually used. is it Undecrypted after this encryption? 2. like mainstream DISCUZ, PHPCMS, and ECSTORE, what is their copyright protection? In what way does he notify his server that he has written PHP code? Prevent leakage. I only know that there is an encrypted zend guard, but it is not actually used. is it Undecrypted after this encryption?
2. what is their copyright protection like mainstream DISCUZ, PHPCMS, and ECSTORE? How does he notify his server that unauthorized websites are running?

Reply content:

1. how to protect your PHP code? Prevent leakage. I only know that there is an encrypted zend guard, but it is not actually used. is it Undecrypted after this encryption?
2. what is their copyright protection like mainstream DISCUZ, PHPCMS, and ECSTORE? How does he notify his server that unauthorized websites are running?

Php is an interpreted language and cannot be used to prevent leaks, because it is always extracted during running.
All you can do is obfuscation.Zend guardThe principle is to change both the variable name and function name to a large string of garbled characters, making reading more difficult.

The mainstream copyright protection relies on legal restrictions. it is useless to write authorization in code, where the source code is, and modification and bypass cannot be completed. Another constraint is after-sales ~

The source code base of the Ecstore source code of the business school is all encrypted. when the business authorization is performed, the source code of each set is configured with a serial number to bind with the machine, there are also domain names that must be filed with the business school.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.