Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Signing Java Applets for 1.1.8 (MAC and Windows)

 
Naomi Proctor
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I'm having problems understanding the correct procedure that I have to follow to correctly sign
my applets. The applets are written in 1.1.8 and must work in IE and Netscape on the MAC and
under Windows.
I have a Verisign certificate but there is no Java v1.3 plugin for the MAC so it seems if we
will have to proceed a different way to sign the code on the MAC.
So it looks like I will have to get a Microsoft Authenticode certificate and a Netscape Object Signing
certificate to sign the applets so that they will work on the MAC without the Java 1.3 plugin.
Additionally, I will have to use specific code to enable permissions on IE and Netscape.
For example on IE (thanks Manfred):
com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.FILEIO); com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.UI); com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.USERFILEIO); com.ms.security.PolicyEngine.assertPermission(com.ms.security.PermissionID.SYSTEM);
Can anybody verify that this is correct? Is there any other way to do this? If you have any good websites that you can point me to or any other useful information. It would greatly appreciated.
Thanks,
Naomi
[ April 25, 2002: Message edited by: Naomi Proctor ]
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Naomi,
I would suggest that you read the following article. It tells how to make a single applet that runs on both IE and Netscape without using the Sun Java 2 plug-in. Bottom line ... a lot of work!
http://www.suitable.com/CodeSigningOverview.shtml#versions
Good Luck,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic