some people say you have to sign the applet, some people say you have to sign the jars… (the smack jars?) I keep getting this socket-permission error… I have visited page that has been mentioned in this forum, http://java.sun.com/docs/books/tutorial/jar/sign/signing.html… it says you have to do this command: jarsigner jar-file alias… it says
“alias is the alias identifying the private key that’‘s to be used to sign the JAR file, and the key’'s associated certificate.”
“the private key”??? what is the “private key”? and do I establish an alias?
it also says
“This basic form of the command assumes that the keystore to be used is in a file named .keystore in your home directory.”
there no “.keystore” file in my computer… do I create this file? how? what do I put in it? (searched for “keystore” in my C-drive… tons of “.key” files… (and nothing on “security” or “keys” in windows HELP section…)
(nothing about “.keystore” or “jarsigner” in smack documentation either…)
I have never signed an applet (or jars) and need some help here… thank you…
applets are inside a sandbox you can’'t access your computer resources which means applets are limited. But there is a workaround to it but you must sign the jar file of your applets and let the user decide whether to allow the applet or not.
Here must you do, you must add this code and anything that you don’'t have permission to can now be use inside the Object run() method;