CFCOMPILE - 预编译ColdFusion页面&无源分布 [英] CFCOMPILE - Precompiling ColdFusion pages & Sourceless distribution

查看:200
本文介绍了CFCOMPILE - 预编译ColdFusion页面&无源分布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到预编译页面到java类将提高性能,而使用-deploy命令将页面编码为java字节码,从而隐藏源代码。



问题:



上述两项都可以完成吗?预编译应用程序,然后对它们进行编码?



正在更新无源网页



感谢您的贡献。


div class =h2_lin>解决方案

值得注意的是,如果有人进入你的服务器,字节码不会'保护'你的代码。没有什么可阻止某人使用诸如之类的工具来反编译代码。



有官方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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆