Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Q4005 Can an applet write to a clients hard disk?

You are here: irt.org | FAQ | Java | Q4005 [ previous next ]

Unless an applet class is loaded by the primordial classloader or is signed it is considered as foreign. By default, the security manager prevents foreign code doing anything that is considered sensitive, such as reading or writing files. In other words an applet cannot write to the clients hard disk unless client allows it.

(The primordial classloader is the built-in classloader that only loads classes from CLASSPATH value, and only from the local file system.)

©2018 Martin Webb