I have a small java applet that does custom printing from the browser.
I have signed the applet with a go daddy certificate, but I am still receiving the following security warning:
==
Security warning
The applet has requested access to the printer
Do you want to allow this action?
==
There is a ch开发者_运维问答eckbox that says, "Always allow this applet to run", but selecting that still always causes the warning dialog to show before the print dialog is displayed.
Is there anyway to grant access to the printer without modifying the .policy file on the client machines or to include a .policy file in the .jar file?
Thanks!
I don't think there is other way. I had the same problem - signed applet printing, but with that annoying dialog.
My problem was that the applet was executed by javascript. According a note here, applet executed by javascipt behaves always like unsigned one.
精彩评论