CFCOMPILE - 预编译ColdFusion页面&无源分布 [英] CFCOMPILE - Precompiling ColdFusion pages & Sourceless distribution
问题描述
我看到预编译页面到java类将提高性能,而使用-deploy命令将页面编码为java字节码,从而隐藏源代码。
问题:
上述两项都可以完成吗?预编译应用程序,然后对它们进行编码?
正在更新无源网页
感谢您的贡献。
值得注意的是,如果有人进入你的服务器,字节码不会'保护'你的代码。没有什么可阻止某人使用诸如这之类的工具来反编译代码。
有官方Adobe信息这里无源分发,但我还没有尝试过。记住,如果只有第一个请求的编译命中(如果您的CF管理设置正确),所以升级不是每个请求。
我也希望以其他方式保护我的源代码,即确保服务器是安全的。
I see that pre-compiling pages to java classes will increase performance, while using the -deploy command will encode the pages to java bytecode, thus hiding the source code.
Questions:
Can both of the above be done? Pre-compiling the application, then encoding them?
Is updating sourceless pages & cfc's as simple as encoding the newly updated files locally, then overwrite the older ones on the server?
Thank you for your contributions.
It's worth noting that byte code won't 'secure' your code if someone gets onto your server. There is nothing to stop someone from decompiling your code using tools like this.
There is offical Adobe info here on sourceless distribution but I haven't tried it. Remember, the compile hit if only on the first request (provided you have your CF admin setting correct) so the boost isn't for every request.
I'd also prefer to 'secure' my source code in other ways, i.e. making sure the server is secure.
这篇关于CFCOMPILE - 预编译ColdFusion页面&无源分布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!