Two implementations are given for Java’s stack-inspection accesscontrol policy. Each implementation is obtained by generating an inlined reference monitor (IRM) for a different formulation of the policy. Performance of the implementations is evaluated, and one is found to be competitive with Java’s less-flexible, JVM-resident implementation. The exercise illustrates the power of the IRM approach for enforcing security policies.
Úlfar Erlingsson, Fred B. Schneider