Types for Information Flow Control: Labeling Granularity and Semantic Models

04/30/2018
by   Vineet Rajani, et al.
0

Language-based information flow control (IFC) tracks dependencies within a program using sensitivity labels and prohibits public outputs from depending on secret inputs. In particular, literature has proposed several type systems for tracking these dependencies. On one extreme, there are fine-grained type systems (like Flow Caml) that label all values individually and track dependence at the level of individual values. On the other extreme are coarse-grained type systems (like HLIO) that track dependence coarsely, by associating a single label with an entire computation context and not labeling all values individually. In this paper, we show that, despite their glaring differences, both these styles are, in fact, equally expressive. To do this, we show a semantics- and type-preserving translation from a coarse-grained type system to a fine-grained one and vice-versa. The forward translation isn't surprising, but the backward translation is: It requires a construct to arbitrarily limit the scope of a context label in the coarse-grained type system (e.g., HLIO's "toLabeled" construct). As a separate contribution, we show how to extend work on logical relation models of IFC types to higher-order state. We build such logical relations for both the fine-grained type system and the coarse-grained type system. We use these relations to prove the two type systems and our translations between them sound.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/29/2022

From Fine- to Coarse-Grained Dynamic Information Flow Control and Back, a Tutorial on Dynamic Information Flow

This tutorial provides a complete and homogeneous account of the latest ...
research
11/18/2020

Your "Labrador" is My "Dog": Fine-Grained, or Not

Whether what you see in Figure 1 is a "labrador" or a "dog", is the ques...
research
02/17/2023

Towards Fine-Grained Information: Identifying the Type and Location of Translation Errors

Fine-grained information on translation errors is helpful for the transl...
research
09/24/2021

Contextual Fine-to-Coarse Distillation for Coarse-grained Response Selection in Open-Domain Conversations

We study the problem of coarse-grained response selection in retrieval-b...
research
10/20/2018

A Unified Labeling Approach by Pooling Diverse Datasets for Entity Typing

Evolution of entity typing (ET) has led to the generation of multiple da...
research
05/24/2022

Exploiting Dynamic and Fine-grained Semantic Scope for Extreme Multi-label Text Classification

Extreme multi-label text classification (XMTC) refers to the problem of ...
research
09/13/2018

Learning to Group and Label Fine-Grained Shape Components

A majority of stock 3D models in modern shape repositories are assembled...

Please sign up or login with your details

Forgot password? Click here to reset