4 Replies Latest reply on Jan 31, 2011 2:37 AM by EJP

    Socket Connection Security Exception.

      Dear all,

      I've written an applet running in a webpage, which will open a socket connecting to, the localhost.

      It work fine in my development environment (browser & webserver run in localhost), but when I deploy the website to a server,the applet always run with exception "access denied (java.net.SocketPermission connect,resolve)".

      I've have signed the jar with a cert. I have changed the java.policy in system to allow it, but still it didnt work.

      The grant permission that i gave is :

      grant {
      permission java.security.AllPermission;

      kindly provide me a solution.