Basic HTML version of Foils prepared May 19 99

Foil 155 Importing and Exporting Functions

From Remarks on Internet and Java Security Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Geoffrey Fox, Mehmet Sen


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 Wed May 19 1999