ColdFusion - IPR(知识产权)预编译的替代方案
我们的安全政策不允许我们向客户公开我们的源代码。
通常,在 ColdFusion 世界中,通过 cfcompile.sh 运行代码来执行无源分发。
不幸的是,根据我的经验,预编译的代码无法跨不同操作系统移植。我现在正在寻找混淆实际源代码的替代方案。
在 ColdFusion 世界中,除了预编译选项之外,您还看到其他选项吗?
Our security policy does not allow us to expose our source code to clients.
Typically, in the ColdFusion world a sourceless distribution is carried out by running the code through cfcompile.sh
Unfortunately, code that is precompiled is in my experience not portable across different Operating Systems. I am now looking into alternatives to obfuscate the actual source code.
Do you see any other option besides the precompilation option in the ColdFusion world?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可能想查看 cfcompile 实用程序:
http: //livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=deploying_5.html
其中两个功能是:
预编译 ColdFusion 页面: 将应用程序的 CFM 页面预编译为Java 类文件。在运行时,ColdFusion 不必编译 CFM 页面。
无源分发:将 CFM 页面创建为 Java 字节码。您可以部署这些 CFM 页面而不是 CFML 源代码。
you might want to check out the cfcompile utility:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=deploying_5.html
two of the features are:
Precompiling ColdFusion pages: Precompile your application's CFM pages into Java class files. At runtime, ColdFusion does not have to compile CFM pages.
Sourceless distribution: Create CFM pages as Java bytecode. You can deploy these CFM pages instead of CFML source code.
您可以使用 bin 目录中的 cfencode 可执行文件以不可读的方式“编码”模板。这适用于所有平台,并且长期以来一直是 ColdFusion 的一项功能,因此它也可以追溯到许多版本。
应该注意的是,有第三方实用程序可以解码编码的 cfm 模板以再次获取源代码。这是一个让诚实的人保持诚实的解决方案。
You can use the cfencode executable located in the bin directory to "Encode" the templates in an unreadable manner. This works across all platforms, and has been a feature of ColdFusion for a long time, so it goes back many versions as well.
It should be noted that there are third party utilities to decode the encoded cfm templates to get the source code again. It is a keeping honest people honest solution.