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

Is hashmap thread safe?

562


What is hashmap and map?

561


5 Coding best practices you learned in java?

640


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1585


What is the use of coding?

526






What was java originally called?

514


What is sleep method?

623


What is polymorphism and what are the types of it?

511


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2375


What is the size of string?

566


what is the significance of listiterator in java?

624


Is it possible to instantiate the abstract class?

540


What is java virtual machine? Explain

571


Does substring start with 0?

558


what is a green thread? : Java thread

576