16
7.
Miscellaneous Concerns
Applet Security
Web browsers like Netscape allow applets to read and write data only on t he host that serves the applet [4,
pg. 589] i.e. it will let the applet connect only to sockets on the computer from which the applet came. The
write restriction prevents applets from planting viruses or altering important files on the local computer.
The read restriction does not allow applets to browse files on the local computer for sensitive information,
such as credit card numbers, open a socket connection to the applet host, and write the information back.
Do'stlaringiz bilan baham: