Urgent: Problem with Clipboard in Netscape and Activator
Posted on 1998-07-15
I have written an applet which utilises the system clipboard.
On the local maschine I the clipboard works. In Netscape I get the dialog box for granting/denying the applet's clipboard access.
But when I load the applet from *remote* the Netscape Browser does not ask the user for granting or denying the clipboard access, but in the Java Console I get following message:
netscape.security.ForbiddenTargetException: User didn't grant the UniversalSystemClipboardAccess privilege.
Why don't I get the grant/deny-dialog when the applet is loaded from a remote server?
How can I activate the clipboard for remote applets? (Answers with the Netscape prefs-File will not be accepted).
By the way my applet classes are located in a normal zip-Archive (not jar). And no object-signing is used (due to problems for non us-citizens to get a signing-certifcate for private programers).
Befor the clipboard is accessed following command is used to activate the clipboard-access:
My applet should also work on the Sun Activator. On the local maschine the clipboard works, but when the applet is loaded from remote I get an exception.
How can I utilise the system clipboard in a applet loaded from a remote server?
Is it possible to activate the clipboard from with in the applet, like in Netscape with a grant/deny-dialog box?
Pointing system for obove questions:
In general: all answers must be complete and a step by step manner description.
A answer which *solve* my problem 100% (in all parts Netscape and Activator) will get an additional 100 points (= 200 points).
If the answer lies in signing the jar-archive: The experts which offers an object-signing solution must sign my applet with his Netscape object-signing certificate and will receive an additional 100 points (=200) on a successful test of the clipboard functionality.
Answers with the sun java certificate will receive additional 50 points (=150 points) on successful test.
It is very urgent and I don't have to much time to play around! That's why you get so many points when delivering a good answers.