Solved

Java Plugin and Browser Settings

Posted on 2001-06-04
9
391 Views
Last Modified: 2013-11-18
I've changesd my IE 5.0 security settings to be able to run my intranet applet as a trusted applet.
Now I am trying to employ new JDK 1.3 Plugin to do applet
caching.
Java Plugin ignores browser settings and I am getting
security exception in my applet.
How can I avoid it and make Java Plugin "obey" browser
security settings?
0
Comment
Question by:polina
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 6155084
Hi polina

What r the things u changed in IE settings
May i know it

Shyam
0
 

Author Comment

by:polina
ID: 6155609
Here is what I've changed:
IE 5.0 - Tools - Internet Options - Security - Trusted Sites - "Sites" button - added DNS name (IP address) of
the server where my applet resides.
Also from Security tab - "Custom Settings" button - Microsoft VM Java permission changed to Custom;
button "Java Custom Settings" became visible;
Enabled all options for the "unsigned Content".
Now when I ran my applet I have "Trusted Sites" mark on the lower right corner of the Browser screen. It allows
the third party classes (included in my applet)to access print facilities and write logs.
0
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 6155848
Hi Polina

Is ur DNS serves https protocol or in simple
do u run https for ur local intranet


Cheers
Shyam
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:polina
ID: 6155871
I don't run https, it is http only.
0
 
LVL 3

Expert Comment

by:shyamkumarreddy
ID: 6155898
Hi Polina

I asked this question . Since u cann't add a http site for your trusted site in Sites.
That is the reason i asked.

What is that u r doing on the Applet
may i know it before coming to a solution


Shyam
0
 

Author Comment

by:polina
ID: 6155941
Actually I can add (and already added) http site for my applet to the list of the trusted sites. It works fine
with Microsoft VM, I am not having any problems.
My applet contains some classes from the third party vendor that are performing functions forbidden for the applets. That is the reason I had to make it a trusted applet. Thus I avoided all security exceptions from the
browser.
The problem started when I tried to use JDK 1.3 Java Plugin
VM instead of the browser VM. Java Plugin does not read and
does not obey my security settings and throws Security Exceptions when instantiating the third party vendor classes I mentioned about.
0
 
LVL 3

Accepted Solution

by:
shyamkumarreddy earned 100 total points
ID: 6155959
What does third party applet will do. Are there digitally signed or not.

If there are digitally signed then no probs. Else have to digitial sign or signed there jar atleast. If the applet seems to have some probs or restrictation on the System.
That is when JVM find it does something bad to the sytem it raises SecurityException


Cheers
Shyam


0
 
LVL 5

Expert Comment

by:vemul
ID: 7752083
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- points to shyamkumarreddy

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0
 

Expert Comment

by:Banath
ID: 7850588
Per recommendation - points to shyamkumarreddy

Banath
EE Moderator
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question