< Terug naar vorige pagina

Publicatie

Security monitor inlining and certification for multithreaded Java

Tijdschriftbijdrage - Tijdschriftartikel

© 2014 Cambridge University Press. Security monitor inlining is a technique for security policy enforcement whereby monitor functionality is injected into application code in the style of aspect-oriented programming. The intention is that the injected code enforces compliance with the policy (security), and otherwise interferes with the application as little as possible (conservativity and transparency). Such inliners are said to be correct. For sequential Java-like languages, inlining is well understood, and several provably correct inliners have been proposed. For multithreaded Java one difficulty is the need to maintain a shared monitor state. We show that this problem introduces fundamental limitations in the type of security policies that can be correctly enforced by inlining. A class of race-free policies is identified that precisely characterizes the inlineable policies by showing that inlining of a policy outside this class is either not secure or not transparent, and by exhibiting a concrete inliner for policies inside the class which is secure, conservative and transparent. The inliner is implemented for Java and applied to a number of practical application security policies. Finally, we discuss how certification in the style of proof-carrying code could be supported for inlined programs by using annotations to reduce a potentially complex verification problem for multithreaded Java bytecode to sequential verification of just the inlined code snippets.
Tijdschrift: Mathematical Structures in Computer Science
ISSN: 0960-1295
Issue: 3
Volume: 25
Pagina's: 528 - 565
Jaar van publicatie:2015
BOF-keylabel:ja
IOF-keylabel:ja
BOF-publication weight:0.1
CSS-citation score:1
Auteurs:International
Authors from:Higher Education
Toegankelijkheid:Open