RE: Java security question

2000-04-19 Thread Rajesh Nair
This would require a self-coded lock or something, I presume. It's always good to have obfuscation on the java  class code. Like Zack mentions once its in somebody's hands, they could make changes. If obfuscation is really as good as it sounds, wouldn't it be possible to limit the applet that has

RE: Java security question

2000-04-19 Thread Zack Grossbart
Gayathri, Obfuscation could potentially help this. If your application checked for the signature when running that would help as well. However, the bottom line is that the user could decompile your code and change it and resell it. There is no way to prevent this, but depending on your

RE: Java security question

2000-04-19 Thread Gayathri Viswanathan
Zack, I have already signed my Java applet with a certificate from Thawte. But I thought that this means that Thawte certifies that noone has changed the jar file. But what if after accepting the certificate, some malicious user wishes to change the contents of the jar file by say changing some i

RE: Java security question

2000-04-19 Thread Zack Grossbart
Gayathri, Obfuscation would help prevent someone from decompiling and understanding your code, but not from changing it. You should sign your JAR file. Tools like Visual Cafe have this capability built in, or you can write a small utility to do it yourself using the javax.cript package.

Re: jdb tips?

2000-04-19 Thread Alexander V. Konstantinou
Zack, Here is how I start my JVMs (Sun JDK 1.2.2) : export LD_LIBRARY_PATH=$JAVA_HOME/lib/i386:$LD_LIBRARY_PATH JDB_FLAGS="-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" $JAVA_HOME/bin/java -Djava.compiler= $JDB_FLAGS mypackage.MyClass Then start jdb : jdb -a

RE: jdb tips?

2000-04-19 Thread Zack Grossbart
Nathan, This gets me a lot further. My JVM starts, but when I try to connect on the port I specified, which is above 1024 and open, I get the connection refused. When I use netstat to get all open ports the port that I have specified for debugging use does not show up on the list.

Re: jdb tips?

2000-04-19 Thread Nathan Meyers
Zack Grossbart wrote: > > Nathan, > > Thank you very much for your help. I need to pass a couple more flags than > just -debug. When I launch: > > java -Djava.compiler=NONE -debug -Xbootclasspath:/path/to/my/jdk/jre/lib/rt. > jar:/path/to/my/jdk/lib/tools.jar -Xrunjdwp:transport=dt_sh

Java security question

2000-04-19 Thread Gayathri Viswanathan
Hi ! I have written a Java applet and we wish to make it into a product. I have the applet setup so that all the resources that it needs are within a jar file. How can I make sure that other people to whom we may sell the software will not be able to disassemble the code or change some of the ima

Re: jdb tips?

2000-04-19 Thread Nathan Meyers
Zack Grossbart wrote: > > Nathan, > > Thank you very much for your help. I need to pass a couple more flags than > just -debug. When I launch: > > java -Djava.compiler=NONE -debug -Xbootclasspath:/path/to/my/jdk/jre/lib/rt. > jar:/path/to/my/jdk/lib/tools.jar -Xrunjdwp:transport=dt_sh

RE: jdb tips?

2000-04-19 Thread Zack Grossbart
Nathan, Thank you very much for your help. I need to pass a couple more flags than just -debug. When I launch: java -Djava.compiler=NONE -debug -Xbootclasspath:/path/to/my/jdk/jre/lib/rt. jar:/path/to/my/jdk/lib/tools.jar -Xrunjdwp:transport=dt_shmem,address=agfrn ,server=y,suspend=n m

Re: jdb tips?

2000-04-19 Thread Nathan Meyers
Zack Grossbart wrote: > > Nathan, > > When I try to launch a JVM with the debug options it says there is no JDWP > implementation available, and I can not find the JPDA or the JVMDI shared > libraries in my JDK. I am using Blackdown RC-4. Do you know if there is > anything that needs t

RE: jdb tips?

2000-04-19 Thread Zack Grossbart
Nathan, When I try to launch a JVM with the debug options it says there is no JDWP implementation available, and I can not find the JPDA or the JVMDI shared libraries in my JDK. I am using Blackdown RC-4. Do you know if there is anything that needs to be installed on top of the JDK? Th

Re: What is fcs?

2000-04-19 Thread Scott Murray
On Wed, 19 Apr 2000, Paolo Ciccone wrote: > On Tue, Apr 18, 2000 at 11:02:41AM -0400, Scott Murray wrote: > > No WAG required, as I'm pretty sure. At Sun, FCS means "First Customer > > Ship", which basically means the release version of a product. They > > probably shouldn't be labelling the d

Strange NullPointerException when removing DND targets

2000-04-19 Thread Zack Grossbart
I am using DND, and everything works fine, with one exception. I have a frame with a pane and this pane supports DND. When I close the window the component peer become dereference from the component, and java.awt.dnd.DropTarget.removeNotify method is called. This results in a NullPointerExcepti

Re: What is fcs?

2000-04-19 Thread Paolo Ciccone
On Tue, Apr 18, 2000 at 11:02:41AM -0400, Scott Murray wrote: > No WAG required, as I'm pretty sure. At Sun, FCS means "First Customer > Ship", which basically means the release version of a product. They > probably shouldn't be labelling the downloads with FCS, as it's not really > meaningful