Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Signing Java Applets for 1.1.8 (MAC and Windows)

 
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 ]
 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic