java - Adding lower restriction to Applet / Webstart -


i have simple applet application , code creates imageicon objects same url applet. when run application, message unrestricted access, scares user.

how configure applet or jnlp show specific restriction messages?

edited after all, refactor code , find ways load image correctly. load image jar: http://docs.oracle.com/javase/tutorial/uiswing/components/applet.html#images. load image applet: imageicon = new imageicon(getimage(getcodebase(), "image/image_name.png"));

how configure applet or jnlp show specific restriction messages?

beyond more specific permissions shown jnlp api services, java not offer finer permission gradations all-permissions, j2ee-application-client-permissions or sand-boxed (no security element).


however seems this warning seen due bug linked op.

netbeans bug 227169 - java.security.accesscontrolexception: access denied ("java.lang.runtimepermission" "modifythreadgroup")


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -