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

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

问题描述

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

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.

问题:

以上两个都可以吗?预编译应用程序,然后对其进行编码?

Can both of the above be done? Pre-compiling the application, then encoding them?

正在更新无源页面和cfc 就像在本地编码新更新的文件一样简单,然后覆盖服务器上的旧文件?

Is updating sourceless pages & cfc's as simple as encoding the newly updated files locally, then overwrite the older ones on the server?

感谢您的贡献.

推荐答案

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

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.

有官方 Adob​​e 信息这里 on sourceless分发,但我没有尝试过.请记住,编译命中仅在第一个请求时(前提是您的 CF 管理员设置正确),因此提升不适用于每个请求.

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天全站免登陆