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

What does split function do in java?

0 Answers  


What is lexicographically smallest string?

0 Answers  


What is keyword and identifier?

0 Answers  


Can a class extend 2 classes in java?

0 Answers  


How we can declare a static variable?

0 Answers   HCL,






Why is singleton not thread safe?

0 Answers  


what is an objects lock and which objects have locks? : Java thread

0 Answers  


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

0 Answers  


What is an abstract class and abstract method?

5 Answers  


what is difference between type 4 driver and type 1 driver?

2 Answers   CMC, CTS, IBM, JK Technosoft, Napier Healthcare,


Can you sort a list in java?

0 Answers  


How do you override a method in java?

0 Answers  


Categories