Security
As
you are likely aware, every time that you download a “normal” program, you are
taking a risk because the code you are downloading might
contain a virus, Trojan horse, or other harmful code. At the core
of the problem is the fact that malicious code can cause its damage because
it has gained unauthorized access to system resources.
For example, a virus
program might gather private information, such as credit card
numbers, bank account balances, and passwords, by searching the
contents of your computer’s local file system. In order for Java to enable
applets to be safely downloaded and executed on the client computer, it was
necessary to prevent an applet from launching such an attack.
Java
achieved this protection by confining an applet to the Java execution
environment and not allowing it access to other parts of the
computer. (You will see how this is accomplished shortly.) The
ability to download applets with confidence that no harm will be done and that
no security will be breached is considered by many to be
the single most innovative aspect of Java.
No comments:
Post a Comment