问题描述
我们的安全政策不允许我们向客户公开我们的源代码。
Our security policy does not allow us to expose our source code to clients.
通常,在ColdFusion世界中,通过cfcompile.sh运行代码来执行无源分发。
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.
除了ColdFusion世界中的预编译选项,你看到任何其他选项吗?
Do you see any other option besides the precompilation option in the ColdFusion world?
推荐答案
您可能想要查看cfcompile实用程序:
you might want to check out the cfcompile utility:
两个功能是:
预编译ColdFusion页面:预编译应用程序的CFM页面Java类文件。在运行时,ColdFusion不必编译CFM页面。
Precompiling ColdFusion pages: Precompile your application's CFM pages into Java class files. At runtime, ColdFusion does not have to compile CFM pages.
无源分发:将CFM页面创建为Java字节码。您可以部署这些CFM页面,而不是CFML源代码。
Sourceless distribution: Create CFM pages as Java bytecode. You can deploy these CFM pages instead of CFML source code.
这篇关于ColdFusion - IPR(知识产权)预编译的替代方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!