New Idea of PHP source code encryption

Source: Internet
Author: User
Recently done a project, in order to protect the source code of PHP, I put all the business logic of PHP (database operations and custom functions) are all encapsulated in a PHP extension.

Today I found PHP extension, you can use the Windows API (FindResource function), I put a picture file in the DLL's resource file, and then write a PHP function to get this image file, the same, will all the JS and CSS files can be compressed into this DLL extension, the implementation of all project encryption.

Hope that the master to crack.


Reply to discussion (solution)

The idea of a lonely loser, right?

Like Java, Java has a jar file to see if it can be packaged as par files or something.

Seek the master to study together

What's the point?

All encapsulated in PHP extensions?
In this way, most of the code is written in C, but also what to do with PHP, which has the advantage of PHP?
It's better to write it directly with C.

The business logic (database operations and custom functions) is encapsulated in a PHP extension
Then this extension is for your use only
So it doesn't matter "cracked."

Is the software can be encrypted, the site is not to be encrypted at all

It doesn't make much sense, no need.

Encrypt the PHP code directly with Zend. For an extended DLL, you're going to have to leave the interface to be called.

JS CSS is not necessary to put in the DLL, because open your Web page can see AH.

Where to crack the location and not to file or pass

  • 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.