What is the difference between Trusted and Untrusted
Applet ?

Answers were Sorted based on User's Feedback



What is the difference between Trusted and Untrusted Applet ?..

Answer / anu

Applets are divided into two categories: trusted and
untrused. Trusted applets are not subject to any security
restrictions and can therefore open connections to any host
at will; untrusted applets are subject to the security
restrictions described below.
When an applet is loaded a check is first made to see if an
applet by that name (the value of the CODE attribute in the
APPLET tag) exists in the classpath (if none was explicitly
set, then just the internal default classpath is used); if
so, the applet found in the classpath is loaded. Applets
loaded this way are considered trusted. If no applet by the
requested name is found in the classpath then it is loaded
from the location specified by the combination of urls used
to load the page containing the applet and in the CODEBASE
attribute. Applets loaded this way are considered untrusted

Is This Answer Correct ?    3 Yes 2 No

What is the difference between Trusted and Untrusted Applet ?..

Answer / bharat v

Trusted applet provides security and Untrusted applet
dosen't provide any security.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Core Java Interview Questions

How do you write a good declaration?

1 Answers  


Why is the singleton pattern considered to be an anti pattern?

1 Answers  


What are different type of exceptions in java?

1 Answers  


Does java return by reference?

1 Answers  


What's the base class in java from which all classes are derived?

1 Answers  


What is the multi-catch block in java?

1 Answers  


How to know the host from which Applet is originated?

1 Answers   Wipro,


What is the best way to findout the time/memory consuming process?

1 Answers  


What are constants and how to create constants in java?

1 Answers  


what is jms? features of jms

2 Answers   CTS,


What is the method used to get the absolute value of a number?

2 Answers  


Where local and global variables are stored?

1 Answers  


Categories