The protection in this article is to prevent the user from saving the swf file locally. In fact, this method has been used long ago. The main protection measure is to read the $ _ SERVER array in the php background. if the ActiveX control in IE is used to load the video, there will be a $ _ SERVER [HTTP_X_FLASH_VERSION] parameter, if you use other download software to download the file, this article does not protect you from saving the swf file locally. In fact, this method has been used long ago. The main protection measure is to read the $ _ SERVER array in the php background. if the ActiveX control in IE is used to load the video, there will be a $ _ SERVER ["HTTP_X_FLASH_VERSION"] parameter, if you use other download software for download, this parameter will not be available. it is a wonder that Firefox ActiveX does not have this parameter.
In this way, you can use this parameter to determine whether the user's access method is valid. If $ _ SERVER ["HTTP_X_FLASH_VERSION"] is not detected, you can switch another swf in the background to replace the original one.
The other is the cache problem. after swf is displayed, it will be displayed in the user's cache. this problem can also be solved by setting the header file of the webpage. PHP code:
It should be noted that the capabilities of such protection technologies are limited, and there are still some methods to crack them.