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 / General / November 2005

Tip: Looking for answers? Try searching our database.

what are signed applets ?

Thread view: 
gk - 22 Nov 2005 09:57 GMT
i know applets . but what are signed applets ? where it is used ?
J. Verdrengh - 22 Nov 2005 10:53 GMT
In short: to be able to verify whether the applet has really been approved
by the one who claims to have approved it.

If you are surfing the web and you want to execute an applet, you want to be
sure the applet has been approved by a person/company you trust (unless you
like virusses etc). In order to realize this, the applet is signed by its
publisher (person/company).

The publisher has two keys: a (secret) private key and a public key. The
first one is kept secret, the latter one is known to everybody who wants to
know it (it can be found in a public directory of (public) keys, like a
phone book).

So the publisher wants to sign its applet. In the first stage, he uses a
hash function (http://en.wikipedia.org/wiki/Hash_function) to get a
relatively short array of bits that corresponds to the applet: the hashcode
of the applet. Then the publisher encrypts that hashcode using his private
key. Now the applet has been signed (so the signature is the encrypted
hashcode).

If a person wants to verify whether an applet has been really signed by the
publisher and not by some spoofer, he only has te decrypt the (attached)
signature using the publisher's public key. Then he calculates the hashcode
of the applet. If  the decrypted signature and the calculated hashcode
match, the person knows that the applet has been signed by the publisher.
Since it's very difficult to calculate the signature without the private
key, the person can be quite sure the applet has been approved by the
publisher.

Notice that if the applet is altered by a third party, its hashcode changes
and the signature is not longer valid.
Ingo R. Homann - 22 Nov 2005 10:57 GMT
Hi,

> i know applets . but what are signed applets ? where it is used ?

Normally, applets are executed in a sandbox that e.g. prevents them from
accessing the local hard disk. A signed applet however is allowed to
leave the sandbox. The user must decide if he trusts the certificate, of
course...

Ciao,
Ingo
Roedy Green - 22 Nov 2005 13:32 GMT
>i know applets . but what are signed applets ? where it is used ?

see http://mindprod.com/jgloss/applets.html
http://mindprod.com/jgloss/signedapplets.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



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



©2009 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.