Java virtual machine: Difference between revisions

Content deleted Content added
Lee J Haywood (talk | contribs)
m Link to Java applets, applet -> applets, codeverified -> code-verified, bitpatterns -> bit patterns, In -> in the
Lee J Haywood (talk | contribs)
m Corrected link from previous edit
Line 34:
 
==Secure execution of remote code==
A virtual machine architecture allows very fine-grained control over the actions that code within the machine is permitted to take. This allows safe execution of untrusted code from remote sources, a model used most famously by [[Java appletsapplet]]s. Applets run within a VM incorporated into a user's browser, executing code downloaded from a remote [[HTTP]] server. The remote code runs in a highly restricted "[[sandbox]]", which protects the user from misbehaving or malicious code. Publishers can apply for a certificate with which to [[digital signature|digitally sign]] applets as "safe", giving them permission to break out of the sandbox and access the local filesystem and network, presumably under user control.