Use a PHP program to protect your flash work

Source: Internet
Author: User
Tags php code
The protection of this article is to prevent users from saving SWF files to the local, in fact, this method has been used a long time ago. The main protection is to read the $_server array in the PHP background, if it is using IE inside the ActiveX control to load the movie, there will be a $_server["http_x_flash_version" parameters, if it is downloaded with other software to download, There will be no such parameter, it is not the same as Firefox ActiveX.

This can be used to determine whether the user's access is legal. If you detect no $_server["http_x_flash_version"] This parameter, you can switch the other SWF in the background to replace the original.
The other is the cache problem, the General SWF display will also appear in the user's cache there, this problem can also be resolved, that is, by setting the page header file to implement, PHP code:

To make a reputation, the ability to protect technology is limited, and there are ways to crack it.

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.