Basic HTML version of Foils prepared April 7 1998

Foil 128 Importing and Exporting Functions

From Basic Principles of Java and Internet Security CPS616 Web Technologies -- Spring 98. by Geoffrey C. Fox


1 You might want to provide interfaces to call into secure containers (windows and layers). To do so, you use the import and export statements.
2 Exporting a function name makes it available to be imported by scripts outside the container without being subject to a container test.Importing a function into your scope creates a new function of the same name as the imported function. Calling that function calls the corresponding function from the secure container.
3 One should be very careful to not inadvertently allow access to an attacker

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998