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 / August 2006

Tip: Looking for answers? Try searching our database.

Detect Not Accept Signed Web Applet?

Thread view: 
bdog4@hotmail.com - 30 Jul 2006 04:12 GMT
I have two questions.  Is there a way to detect if a user does not
accept the signed web applet?  Also, if you accept the signed applet
and check to not remind again, how do you clear that so it prompts
again in IE?  Thanks
Thomas Hawtin - 30 Jul 2006 10:40 GMT
> I have two questions.  Is there a way to detect if a user does not
> accept the signed web applet?

You can check from unsigned code whether loading of signed code has
succeeded. A simple Class.forName should do.

>                                Also, if you accept the signed applet
> and check to not remind again, how do you clear that so it prompts
> again in IE?  Thanks

You should be able to do that from the Java Control Panel.

Tom Hawtin
bdog4@hotmail.com - 31 Jul 2006 13:56 GMT
Thanks Thomas for the reply, found that in the control panel.  I'm very
new to java, do you have an example of how to check or any web resource
on how to implement that check?  Thanks

> > I have two questions.  Is there a way to detect if a user does not
> > accept the signed web applet?
[quoted text clipped - 9 lines]
>
> Tom Hawtin
Thomas Hawtin - 01 Aug 2006 11:30 GMT
> Thanks Thomas for the reply, found that in the control panel.  I'm very
> new to java, do you have an example of how to check or any web resource
> on how to implement that check?  Thanks

I don't know of any.

If you try it, make sure you put signed and unsigned code in different
packages. Code with different signatures can't exist in the same
package. You can fiddle it with class loaders, but that still does not
permit package access.

Tom Hawtin


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.