🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Curt Siffert Fri, 13 Nov 1998 00:00
how do I sign a java applet?
#193
Author: Curt Siffert
Date: Fri, 13 Nov 1998 00:00
17 lines
1151 bytes
Is it possible to get a security certificate (for free) to sign 
an already-written applet?  It's okay if it's untrustworthy,
I just want to give people the option to accept it.

See, I've got this java applet that allows webbers to play old 
interactive fiction games like "Zork".  It has the capability 
to "Save" and "restore", which you really need to play these
games.  Problem is it's an unsigned applet.

Explorer is configurable to let you give it access.  Navigator 
is not - doesn't give any applet any priveleges without a certificate.
Does anyone know how I can sign the applet so I can give players
the option to dictate what permissions to grant it?

Thanks!
Curt
siffert@tangrams.com
Re: how do I sign a java applet?
#198
Author: Curt Siffert
Date: Sun, 15 Nov 1998 00:00
51 lines
2548 bytes
I figured this out.  The site and applet are at
http://www.tangrams.com/IF/

siffert@best.com (Curt Siffert) sayeth:
>Is it possible to get a security certificate (for free) to sign 
>an already-written applet?  It's okay if it's untrustworthy,
>I just want to give people the option to accept it.

    Yes, it is possible, through www.entrust.com, or 
    (more convenient) Netscape's "Signtool" tool, 
    located on their Developer Website.

>See, I've got this java applet that allows webbers to play old 
>interactive fiction games like "Zork".  It has the capability 
>to "Save" and "restore", which you really need to play these
>games.  Problem is it's an unsigned applet.

    I was able to sign the applet, create a certificate, make
    it available on the website, and modify the java code so 
    that it requests those operations specifically and makes
    a "Grant?" box come up on screen.

>Explorer is configurable to let you give it access.  Navigator 
>is not - doesn't give any applet any priveleges without a certificate.
>Does anyone know how I can sign the applet so I can give players
>the option to dictate what permissions to grant it?

    Here are the URLs that helped me figure this out:

    http://www.media.mit.edu/~boissier/java/signing/signing.html - 
    a good general step-by-step example of how to sign an applet.
    Make special note of the Java Capabilities API link - you'll
    need to refer to this to figure out what permissions to request
    *and* what sections of the java code these permission requests
    should go in.

    http://developer.netscape.com/docs/manuals/signedobj/signtool/index.htm -
    these are the directions I actually used to create my certificate and
    become my own mock Certificate Authority (CA).

    http://freecerts.entrust.com/index.htm
    Another source to get free mock Security Certificates.


>Thanks!
>Curt
>siffert@tangrams.com

    Hope this helps anyone else who might be interested,
    Curt Siffert
    siffert@tangrams.com
Re: how do I sign a java applet?
#202
Author: Robert Lynch
Date: Sun, 15 Nov 1998 00:00
19 lines
1228 bytes
Curt Siffert wrote:
> 
> Is it possible to get a security certificate (for free) to sign
> an already-written applet?  It's okay if it's untrustworthy,
> I just want to give people the option to accept it.
[snip-then in another post]
> I figured this out.  The site and applet are at
> http://www.tangrams.com/IF/

Of course you know "signing" means that only people with rather
up-to-date browsers (Java 1.1 enabled) will be able to view this...

With NS 3.01 I get "class Zplet" not found, which is because my browser
is an "antique" (but I like it. ;-)

FWIW. Bob L.
-- 
Robert Lynch-Berkeley CA USA-rmlynch@best.com
http://www.best.com/~rmlynch/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads