On 06/18/2012 03:29 PM, Martin Hediger wrote:
> @ Jaim and Angel
> Thanks for your feedback. It's exactly what I'm going through right now
> and its funny because the exact same application worked fine a couple of
> hours ago, when it was just in another location on the server.
> What fails is the loading of the structure from a Javascript call.
> However, if I issue the exact same command on the Jmol console, I can
> load the structure.
> Anyway, the applet is located at the following URL.
>
> http://www.biofetsim.org/ku_prototype.html
>
> Open the Jmol console before you hit "Initialize", so you see the error
> message.
>
I get the following error messages:
File Error:java.security.AccessControlException: access denied
(java.net.SocketPermission 130.225.101.52:80 connect,resolve)
script ERROR: java.security.AccessControlException: access denied
(java.net.SocketPermission 130.225.101.52:80 connect,resolve)
----
load >> "./bfs_pdb/aha.pdb" <<
File Error:java.security.AccessControlException: access denied
(java.net.SocketPermission 130.225.101.52:80 connect,resolve)
script ERROR: java.security.AccessControlException: access denied
(java.net.SocketPermission 130.225.101.52:80 connect,resolve)
----
load append >> "./bfs_pdb/aha-reo.pdb" <<
File Error:java.security.AccessControlException: access denied
(java.net.SocketPermission 130.225.101.52:80 connect,resolve)
script ERROR: java.security.AccessControlException: access denied
(java.net.SocketPermission 130.225.101.52:80 connect,resolve)
----
load append >> "./bfs_pdb/nw_aha.xyz" <<
If I resolve the hostname of "130.225.101.52" using the linux 'host'
command I get "propka.ki.ku.dk" and not "www.biofetsim.org". The names
must match in a reverse lookup done by the browser. It doesn't help that
'host www.biofetsim.org' points to the same IP address.
We ran into the same problem a few years ago after the security policy
changed in this respect.
Besides you are taking the 'jQuery' library from a different server
(http://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js). This
might also provoke security problems. I would generally recommend to
install it directly on your server. This way your website is not relying
on the availability of another server and will not go down if the
library file is moved/removed on that server.
Regards,
Rolf
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users