Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java Plugin and Browser Settings

Posted on 2001-06-04
9
Medium Priority
?
397 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 400 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

927 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