You might want to provide interfaces to call into secure containers (windows and layers). To do so, you use the import and export statements. |
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. |
One should be very careful to not inadvertently allow access to an attacker |