Win a copy of AWS Security this week in the Cloud/Virtualization 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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.
 
She's out of the country right now, toppling an unauthorized dictatorship. Please leave a message with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic