What is the difference between Trusted and Untrusted
Applet ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string data type?

550


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

736


Who developed java?

567


What is difference between java and java ee?

555


why using interface interface ?

1507






What is method in java ?

623


How many bits is a double?

528


Is there any sort function in java?

572


What is independent and dependent variables in research?

467


Is java a super set of javascript?

582


What is constructor chaining in java?

584


What is anagram of a string?

515


How does finally block differ from finalize() method?

583


Is there a sort function in java?

575


In java, how we can disallow serialization of variables?

551