A Static Type System for JVM Access Control

Tomoyuki Higuchi, Atsushi Ohori

Research output: Contribution to conferencePaperpeer-review

2 Citations (Scopus)

Abstract

This paper presents a static type system for JAVA Virtual Machine (JVM) code that enforces an access control mechanism similar to the one found, for example, in a JAVA implementation. In addition to verifying type consistency of a given JVM code, the type system statically verifies that the code accesses only those resources that are granted by the prescribed access policy. The type system is proved to be sound with respect to an operational semantics that enforces access control dynamically, similarly to JAVA stack inspection. This result ensures that "well typed code cannot violate access policy." The paper then develops a type inference algorithm and shows that it is sound with respect to the type system and that it always infers a minimal set of access privileges. These results allows us to develop a static system for JVM access control without resorting to costly runtime stack inspection.

Original languageEnglish
Pages227-237
Number of pages11
DOIs
Publication statusPublished - 2003 Jan 1
EventEighth ACM SIGPLAN International Conference on Functional Programming - Uppsala, Sweden
Duration: 2003 Aug 252003 Aug 29

Other

OtherEighth ACM SIGPLAN International Conference on Functional Programming
CountrySweden
CityUppsala
Period03/8/2503/8/29

Keywords

  • Access control
  • JVM
  • Stack inspection
  • Type inference
  • Type system

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'A Static Type System for JVM Access Control'. Together they form a unique fingerprint.

Cite this