Download PDFOpen PDF in browser

Racets: Faceted Execution in Racket

EasyChair Preprint no. 502

15 pagesDate: September 12, 2018

Abstract

Faceted Execution is a linguistic paradigm for dynamic information-flow control. Under faceted execution, secure program data is represented by faceted values: decision trees that encode how the data should appear to its owner (represented by a label) versus everyone else. When labels are allowed to be first-class (i.e., predicates that decide at runtime which data to reveal), faceted execution enables policy-agnostic programming: a programming style that allows privacy policies for data to be enforced independently of code that computes on that data.

To date, implementations of faceted execution are relatively heavyweight: requiring either changing the language runtime or the application code (e.g., by using monads). Following Racket's languages-as-libraries approach, we present Racets: an implementation of faceted execution as a library of macros. Given Racket's highly-expressive macro system, our implementation follows relatively directly from the semantics of faceted execution. To demonstrate how Racets can be used for policy-agnostic programming, we use it to build a web-based game of Battleship. Our implementation sheds light on several interesting issues in interacting with code written without faceted execution. Our Racets implementation is open source, under development, and available online.

Keyphrases: faceted execution, information flow, languages as libraries, macros, Security

BibTeX entry
BibTeX does not have the right entry for preprints. This is a hack for producing the correct reference:
@Booklet{EasyChair:502,
  author = {Kristopher Micinski and Zhanpeng Wang and Thomas Gilray},
  title = {Racets: Faceted Execution in Racket},
  howpublished = {EasyChair Preprint no. 502},
  doi = {10.29007/lqkv},
  year = {EasyChair, 2018}}
Download PDFOpen PDF in browser