/ Published in: Java
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
// filename: .java.policy
// NOTE: filename starts with a period!!!
// put this in your home folder ( on win this is env var USERPROFILE )
grant codeBase "file:///-" { permission java.security.AllPermission "java.security.AllPermission.*"; };
grant codeBase "http://localhost/-" { permission java.security.AllPermission "java.security.AllPermission.*"; };
Comments
 Subscribe to comments
                    Subscribe to comments
                
                