0% found this document useful (0 votes)
69 views2 pages

8) What Is The Applet Class Loader, and What Does It Provide ?

The document discusses security aspects of applets loaded from the local file system versus over the internet. Applets loaded from the local file system have full access to read/write files and execute processes on the client system, and are not verified by the bytecode verifier. Applets loaded over the internet are placed in a private namespace by the applet classloader and have restrictions imposed by the applet security manager.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views2 pages

8) What Is The Applet Class Loader, and What Does It Provide ?

The document discusses security aspects of applets loaded from the local file system versus over the internet. Applets loaded from the local file system have full access to read/write files and execute processes on the client system, and are not verified by the bytecode verifier. Applets loaded over the internet are placed in a private namespace by the applet classloader and have restrictions imposed by the applet security manager.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Regarding the case where an applet is loaded from the client’s local disk, the applet is

loaded by the file system loader. Applets loaded via the file system are allowed to
read files, write files and to load libraries on the client. Also, applets loaded via the file
system are allowed to execute processes and finally, applets loaded via the file system
are not passed through the byte code verifier.

8)What is the applet class loader, and what does it provide ?


When an applet is loaded over the internet, the applet is loaded by the applet
classloader. The class loader enforces the Java name space hierarchy. Also, the class
loader guarantees that a unique namespace exists for classes that come from the
local file system, and that a unique namespace exists for each network source. When
a browser loads an applet over the net, that applet’s classes are placed in a private
namespace associated with the applet’s origin.

9) What is the applet security manager, and what does it provide ?

The applet security manager is a mechanism to impose restrictions on Java applets. A


browser may only have one security manager. The security manager is established at
startup, and it cannot thereafter be replaced, overloaded, overridden, or extended.

10) How do you set security in applets?

using setSecurityManager() method

11) How will you communicate between two appltes?

java.applet.AppletContext class provides the facility of communication between


applets.

12) What is the sequence of interpretation, compilation of a java applet?

You might also like