Mobile code

From Wikipedia, the free encyclopedia

In computer science, mobile code is software obtained from remote systems, transferred across a network, and then downloaded and executed on a local system without explicit installation or execution by the recipient. Examples of mobile code include scripts (JavaScript, VBScript), Java applets, ActiveX controls, Flash animations, Shockwave movies (and Xtras), and macros embedded within Office documents.

Mobile code can also download and execute in the client workstation via email. Mobile code may download via an email attachment (e.g., macro in a Word file) or via an HTML email body (e.g., JavaScript). For example, the ILOVEYOU, TRUELOVE, and AnnaK email viruses/worms all were implemented as mobile code (VBScript in a .vbs email attachment that executed in Windows Scripting Host).

In almost all situations, the user is not aware that mobile code is downloading and executing in their workstation.

Mobile code technologies can be used to support three different paradigms:


Mobile code technologies can be used to download and execute malicious code in client workstations via email and via visiting Web pages on the Internet.

Mobile code also refers to code "used for rent", a way of making software packages more affordable. i.e. to use on demand. This is specially relevant to the mobile devices being developed which are cellular phones, PDA's etc etc all in one, even with a projected keyboard. Instead of installing software packages, they can be "leased" and paid for on a per-usage basis.