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
How do you sort a list in java?
What are the ways to instantiate the class class?
What do you mean by stack?
How can an exception be thrown manually by a programmer?
How to provide security in java
What differences exist between iterator and listiterator?
How to perform binary search in java?
Is static a keyword in java?
What is slash r?
Explain java coding standards for methods?
Can we execute a program without main?
How many bytes is a string java?
Why can't we override private static methods?
What is the argument in java?
Explain wait() method of object class ?