如何保护swf文件被反编译? [英] How to protect swf file from being decompiled?
本文介绍了如何保护swf文件被反编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在重要项目中工作使用Flex框架,我想保持我的算法和code秘密。是否有可能以某种方式保护swf文件被反编译?我不想使用闪光灯反编译别人提取我的code。
I'm working on important project using Flex framework and i want to keep my algorithms and code secret. Is it possible to somehow protect swf file from being decompiled? I don't want someone extract my code using flash decompilers.
感谢。
推荐答案
虽然有保证code反编译也有一些技巧来减少这种情况发生的可能性没有完全证据的方式。
While there is no full-proof way to secure code from decompilers there are some tricks to reduce the chances of this happening.
- 主机HTTPS服务器上的瑞士法郎,然后 它不获取缓存
- 您可以混淆code键使 不可能,即使了解 它被反编译。
- 更改的文件扩展名 .swf文件的东西就像一个.JPG 文件或.png文件,浏览器 仍然应该检测它是一个 瑞士法郎和正确显示,但 它会被存储在缓存中作为 图像文件
- host the .swf on a https server then it doesnt get cached
- You can obfuscate the code to make it impossible to understand even if it is decompiled.
- Change the file extension of the .swf file to something like a .jpg file or a .png file, the browser should still detect that it is a .swf and display it correctly, but it will be stored in the cache as an image file
这篇关于如何保护swf文件被反编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文