PHP: authorization code function development

Source: Internet
Author: User
Tags mcrypt
As required by the project, you must develop an authorization code function. The customer can only use the authorization file. Currently, I have written a class using the built-in php function library mcrypt. However, I think it is too simple. The decryption class is put on the customer's machine and can be easily cracked. Please help me with your ideas.

As required by the project, you must develop an authorization code function.
The customer can only use the authorization file.
Currently, I have written a class using the built-in php function library mcrypt.
However, I think it is too simple. The decryption class is put on the customer's machine and can be easily cracked.
Please help me with your ideas.

Reply content:

As required by the project, you must develop an authorization code function.
The customer can only use the authorization file.
Currently, I have written a class using the built-in php function library mcrypt.
However, I think it is too simple. The decryption class is put on the customer's machine and can be easily cracked.
Please help me with your ideas.

To increase the maximum difficulty of client cracking, imitate the network activation on Microsoft. Or I have seen desktop software in a client-server architecture, which is equivalent to renting a machine from a developer.

But let me say:In the end, the attack is just a command that bypasses the genuine check, and there is no difficulty. I don't know what your application is. However, for general applications, the customer's willingness to purchase genuine products is increased through rolling upgrade of software, technical support, and other additional values, it is much more effective than various static anti-cracking methods.

Powerful, such as StarForce, is still a new generation (only a matter of time ).

Just encrypt the source code. Zend is recommended. Other tools are slag. After encryption, you can try it out.

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.