PDA

View Full Version : [ubuntu] Problem with Java



jjblackfox
June 6th, 2008, 03:29 PM
Hello, thanks for taking the time to try to help me with my problem. Everytime I try to view a Java appellate online I get the following error:

Unable to connect : java.security.AccessControlException : access denied (java.net.SocketPermission

I have Java 6.0 installed so it's not out of date. A box popped up and asked if I wished to trust this publisher and I clicked allow, but now the appellate doesn't load.

The Cog
June 6th, 2008, 04:11 PM
Java only allows applets to connect back to the server they came from. Your applet is trying to connect to somewhere else. An applet that can connect to other places could impersonate you doing anything and make all kinds of trouble for you. So java is doing the right thing. You should not trust an applet that tries to talk to servers other than the one it came from.

jjblackfox
June 6th, 2008, 04:27 PM
Java only allows applets to connect back to the server they came from. Your applet is trying to connect to somewhere else. An applet that can connect to other places could impersonate you doing anything and make all kinds of trouble for you. So java is doing the right thing. You should not trust an applet that tries to talk to servers other than the one it came from.

It is an IRC from a website that I trust. Is there anyway to allow it?

The Cog
June 6th, 2008, 10:42 PM
I think it might work if you run it from your own PC (local files). But the idea of an IRC applet in java is bizarre, because the java security model just doesn't allow for that kind of behaviour.