Solved

Java Plugin and Browser Settings

Posted on 2001-06-04
9
387 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
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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 159
ForLoop Example 3 48
HashTable highest marks enumeration alternative 9 37
arguments to jar 5 26
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.

805 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