A system and method for controlling execution of an interpreted language.
Statements of the interpreted language to be executed by a script engine
are intercepted by a protection module and control is passed to a script
helper module that is asociated with the script engine. The script helper
module establishes a secure communications channel with an authorization
component and passes the statements and an authorization request to the
authorization component. The authorization component sends a reply to the
script helper module which either permits the script engine to execute
the statement or cancels the attempted execution. When the script engine
is loaded, a list is updated identifying the script engine. If a script
helper module is not present for the loaded script engine, a boot-strap
loader is called to load the script helper module. A special information
block contains data as to the location of the interception points.