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
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
Can we use different return types for methods when overridden?
How do you declare an empty string?
how its run?
Is java map thread safe?
Is space a character in java?
What is the finalize method do?
How to pass arraylist to stored procedure in java?
What is meant by class loader? How many types are there? When will we use them?
How do you clear a method in java?
What is the declaration statement?
What is data member in java?
What is an object in java and how is it created?
What is the benefit of lambda expressions?
Can we restart a thread already started in java?