My website uses many applets which work well: 
http://www.ac-noumea.nc/maths/polyhedr/index_.htm 
There is an applet on this entry page (small dodecahedron on the left). 
Since the last Java update (to version 7_25 on Win7 starter) applets 
refuses to start on my local version of the site. The Java console 
displays: 

Exception in thread "Thread-45" java.security.
AccessControlException: access denied ("java.io.FilePermission" 
"D:\Web_site\polyhedr\live\dodeca.m" "read") 
        at java.security.AccessControlContext.checkPermission(Unknown 
Source) 
        at java.security.AccessController.checkPermission(Unknown Source) 
        at java.lang.SecurityManager.checkPermission(Unknown Source) 
        at 
sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source) 
        at java.lang.SecurityManager.checkRead(Unknown Source) 
        at java.io.File.isDirectory(Unknown Source) 
        at sun.net.www.protocol.file.FileURLConnection.connect(Unknown 
Source) 
        at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source) 
        at java.net.URL.openStream(Unknown Source) 
        at Live.initialize(Live.java:806) 
        at Live.run(Live.java:1996) 
        at java.lang.Thread.run(Unknown Source) 

Why does the same applet have a security problem when it is loaded from my 
HHD and not when it is loaded from the internet? 
Any idea to cure this strange behaviour? 

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to