Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Security / October 2003

Tip: Looking for answers? Try searching our database.

How do I run a trusted applet in Sun's Java plugin?

Thread view: 
Barry - 02 Oct 2003 22:16 GMT
Hi all,

I have written a trusted/signed applet that requires local file access. It
runs on Internet Explorer but now I need to port it to run on the Sun Java
plugin. I have found instructions in a couple of places on the web but they
all say things like "user must import my certificate into their local store"
and "user must create a policy file with appropriate permissions"

The problem is, my users don't know how to do any of these things! I am
simply looking for a system like Internet Explorer, where my webserver
serves the applet, then the user clicks "yes" in a simple security warning
dialog, and *poof* my applet is running with the necessary permissions on
their browser.

Is this possible with the Sun Java Plugin v1.3 or v1.4? If so, can somebody
please point me to some simple step-by-step instructions? Kindly reply by
repost.

Thanks in advance!
Barry
KC Wong - 03 Oct 2003 10:43 GMT
> I have written a trusted/signed applet that requires local file access. It
> runs on Internet Explorer but now I need to port it to run on the Sun Java
[quoted text clipped - 11 lines]
> please point me to some simple step-by-step instructions? Kindly reply by
> repost.

Roedy might reply in this thread soon... meanwhile visit:
http://www.mindprod.com/jgloss/signedapplets.html#SIGNEDAPPLETS
There're some links to tutorials and documentation there.

KC
Barry - 05 Oct 2003 05:55 GMT
Hi KC,

Thanks very much for your reply. I'll check out that page.

Barry

> > I have written a trusted/signed applet that requires local file access. It
> > runs on Internet Explorer but now I need to port it to run on the Sun Java
[quoted text clipped - 20 lines]
>
> KC
Michel Gallant - 05 Oct 2003 17:12 GMT
Yes this is possible.
You will need to sign the applet using a commercial code-signing
certificate (Thawte, VeriSign etc.) and by default your users will
get a simple "Allow all permissions / Don't grant anything)" dialog.
By default, the users local policy file is not consulted for RSA signed
Java applets.
Here is a working example, signed for all of:
 JavaPlugin,  IE native JVM, Netscape native JVM:
http://pages.istar.ca/~neutron/Thawte/thawtedemo/

- Michel Gallant
  http://pages.istar.ca/~neutron

> Hi all,
>
[quoted text clipped - 16 lines]
> Thanks in advance!
> Barry


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.