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 / December 2007

Tip: Looking for answers? Try searching our database.

IE warning

Thread view: 
Ouabaine - 02 Dec 2007 17:38 GMT
Hello,

Thanks to your advice, I can now create my applets. But under Internet
Explorer, I get a yellow popup line on the top of the page, telling me that
the content is not safe and I have to authorise it to work.
So I told me, it was because the applet was not signed. So I used keytools
and jarsigner to sign my applet. The result is the same, but now I get
another warning telling me that the certificate is not registered.

I know it is possible to have Applets run without warning. For example, all
the applets on this page http://java.sun.com/applets/jdk/1.4/index.html run
directly without any popup.

Does anyone know how to proceed to remove the warning?

Thanks.

PS: no warning under Firefox. I suspect Microsoft as enforced the warning to
make Java look less safe than C#!
Wayne - 02 Dec 2007 21:31 GMT
> Hello,
>
[quoted text clipped - 4 lines]
> and jarsigner to sign my applet. The result is the same, but now I get
> another warning telling me that the certificate is not registered.

I suspect you need to pay to have a certificate authority (CA) that is
bundled with IE, to sign your applet.

Also there's probably an option in your Windows system to turn off
those warnings.

-Wayne
Qu0ll - 02 Dec 2007 21:41 GMT
> Hello,
>
[quoted text clipped - 16 lines]
> PS: no warning under Firefox. I suspect Microsoft as enforced the warning
> to make Java look less safe than C#!

Are you testing your applet on the same machine as the HTTP server?  If so,
this is the expected behaviour (Google "Mark of the Web").  It will play
better when deployed over the internet.

Signature

And loving it,

-Q
_________________________________________________
Qu0llSixFour@gmail.com
(Replace the "SixFour" with numbers to email me)

Andrew Thompson - 03 Dec 2007 02:17 GMT
...
>> PS: no warning under Firefox. I suspect Microsoft as enforced the warning
>> to make Java look less safe than C#!
>
>Are you testing your applet on the same machine as the HTTP server?  If so,
>this is the expected behaviour (Google "Mark of the Web").  

I think you've 'hit the nail on the head' with this one.

To the OP - don't sign the code.  Research the 'Mark of the Web'
as Qu0ll suggests.

> It will play better when deployed over the internet.

No it wont.

The MotW supposedly has no effect on applets that are coming
from a remote (or local) /server/ - it does nothing for them but add
extra bytes to the HTML.

Note:  You can see a MotW if you 'save' one of those Sun pages
using IE and then view the source - IE inserts the MotW into the
HTML, so the applet can come up (when loaded off local disk)
with no warning.

Signature

Andrew Thompson
http://www.physci.org/

TwelveEighty - 02 Dec 2007 22:27 GMT
>  So I used keytools
> and jarsigner to sign my applet. The result is the same, but now I get
> another warning telling me that the certificate is not registered.

I think you can switch off this checking in IE by "zone" - or add the
IIS server to your trusted zone, or perhaps with the control panel
plugin for the JRE. However, from a design perspective, if you are
planning to use your applet on a public website, your code really must
be signed by an authorized certificate to avoid user complaints.
Roedy Green - 03 Dec 2007 02:01 GMT
>Thanks to your advice, I can now create my applets. But under Internet
>Explorer, I get a yellow popup line on the top of the page, telling me that
>the content is not safe and I have to authorise it to work.

This is just Microsoft f.cking with your head. It is part of Gates'
war on Java. Unsigned applets are quite safe. They run in a very
strict sandbox.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



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.