avoid to show double popup security alert of my java applet

784 Views Asked by At

I created a java applet that uploads a file to a server via ftp, it uses an external library by apache, I signed my applet but when I start the applet from the browser I get two security popups, how do I prevent to show or show only one? hello and thanks

this is the example link: http://frx08.altervista.org/javaftp/

(the second popup says that the code contains signed and not signed code but I don't know why..)

1

There are 1 best solutions below

2
On

Either:

  • Make sure all your code is unsigned, perhaps using javax.jnlp available to applets since 6u10. [best route]
  • Make sure absolutely all your code is signed (and this includes resource files).
  • The "Trusted-Library" feature allows a signed and trusted library to run with untrusted code. It can be very difficult to write the library securely.