1&1 VNC Remote Console Java Security Issue

Written by jeremy on October 28, 2015

Java has consistently been updating its security to reduce it’s potential for spreading malware. Good news! Unfortunately older online java apps will sometimes break to the point of being unusable. One of those apps is the VNC Console for the 1&1 Dynamic Cloud servers. I found this article that explained how to add a line into the policy file to allow the IP that is getting blocked. Here is the article:

https://community.rackspace.com/general/f/34/t/4951

I had to add this code:


permission java.net.SocketPermission "74.208.2.19:993", "connect, accept";

to this file on OSX (windows has a similar file in JAVAHOME somewhere):

/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/java.policy

You can add additional lines to this file for any legacy app you encounter.

The error I was getting in the java console when I had this issue was:

"Network Error: access denied ("java.net.SocketPermission" "74.208.2.19:993" "connect,resolve")

As always have fun!

Buffer