开发者

Java Applet network URL connection username and password visible in Java Console

I have an applet that makes a connection to a protected URL for example: URL = http://user:password@x.y.z/Name/Page.jsp

When I enable the JAVA Con开发者_开发技巧sole and set the trace level to "5" I can see that a network connection is made and the username and password is revealed.

How do prevent the console to print the URL or protect my use


Don't put sensitive data into Jars. If you do, the motivated end user can hack it, with or without the console.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜