Topic: 关于J2SE关键问题 (代码保护)

  Print this page

1.关于J2SE关键问题 (代码保护) Copy to clipboard
Posted by: JavaandC
Posted on: 2005-09-30 13:24

J2SE为什么不提供代码保护措施呢?J2SE连程序基本的代码安全也保证不了。Java的代码根本没有安全性可言,一个程序员用很长时间编写的一个Java应用程序,很高兴的发布了出去,可是呢,别人下载之后,就可以进行反编译,得到该程序员辛辛苦苦做的程序源代码,就这样,哪个程序员还愿意去写一个崭新的应用程序呢?

2.Re:关于J2SE关键问题 [Re: JavaandC] Copy to clipboard
Posted by: owlrose
Posted on: 2005-10-05 12:15

.Net 也容易被反编译, 个人觉得这个不是什么大问题
另外也有一些混淆器可以部分解决这个问题
其实即使是用如C这种语言写的软件, 不能直接反编译出源代码, 但是只要你发布出去了, 别人看到了你的这个idea, 要仿制出来也是容易的事

3.Re:关于J2SE关键问题 [Re: JavaandC] Copy to clipboard
Posted by: wes109
Posted on: 2005-10-05 18:37

用混淆器.....

当然,混淆后程序运行速度会受到影响

4.Re:关于J2SE关键问题 [Re: wes109] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-10-05 19:45

wes109 wrote:
用混淆器.....

当然,混淆后程序运行速度会受到影响


Really? On what base??????

All mobile games are using obfuscators, non of them are found the speed slowing down!!! Speed to a game is critical!!!!

According my working knowledge on how obfuscators works, there is no reason that the obfuscator will slow down the running of a Java program.

On the opposite, in many cases, obfuscators only speed up the running of Java program by optimise the calling stacks. Good obfuscator reduce your jar file sizes, reduce the method calls, reduce the constant variables, etc. etc...

In mobile games cases, the use of obfuscator is not only protects your source code, but also speed-up your game substantially by saving precious resources on your mobile devices!!!!


There is no reason that the obfuscator will slow down the running of a Java program, even those not-the-best obfuscators!!!!

5.Re:关于J2SE关键问题 [Re: JavaandC] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-10-05 20:10

To Moderator of this forum

Can we move this thread to security or Java SE进阶?

Thanks!

6.Re:关于J2SE关键问题 (代码保护) [Re: JavaandC] Copy to clipboard
Posted by: cxp108
Posted on: 2005-10-19 08:46

其实使用混淆器编译过的程序依旧能够被反编译成代码,但是反编译出来的代码已经完全不具有原来的可读性了,其可读性可以说和机器语言有的比。

7.Re:关于J2SE关键问题 (代码保护) [Re: cxp108] Copy to clipboard
Posted by: ranchgirl
Posted on: 2005-10-20 19:49

cxp108 wrote:
其实使用混淆器编译过的程序依旧能够被反编译成代码,但是反编译出来的代码已经完全不具有原来的可读性了,其可读性可以说和机器语言有的比。


No, you are wrong!

机器语言 is executable.
Most of 使用混淆器编译过的程序依旧能够被反编译成代码 is not even compilable.

Have you tried to recompile the 代码 after 反编译 with a reasonable size jar????


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923