What are the restrictions imposed on Java applets?

Technology CommunityCategory: JavaWhat are the restrictions imposed on Java applets?
VietMX Staff asked 4 years ago

Mostly due to security reasons, the following restrictions are imposed on Java applets:

  • An applet cannot load libraries or define native methods.
  • An applet cannot ordinarily read or write files on the execution host.
  • An applet cannot read certain system properties.
  • An applet cannot make network connections except to the host that it came from.
  • An applet cannot start any program on the host that’s executing it.