arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.06590cs.PL
收藏

Idris中用于静态信息流控制的依赖类型库

A Dependently Typed Library for Static Information-Flow Control in Idris

Simon Gregersen, Søren Eller Thomsen, Aslan Askarov

摘要:

在应用程序中安全地集成第三方代码,同时保护信息的机密性是一个长期存在的问题。纯函数式程序设计语言(如Haskell)使得通过像Russo的MAC这样的库来实施轻量级信息流控制成为可能。这项工作提出DepSec,MAC启发,依赖类型库的静态信息流控制在Idris。我们展示了如何添加依赖类型增加了最先进的静态信息流控制库的表现力,以及DepSec如何在一个关键的例子中匹配一个特殊用途的依赖信息流类型系统。最后,我们展示了使用依赖类型指定静态强制解密策略的新颖而强大的方法。

英文摘要:

Safely integrating third-party code in applications while protecting the confidentiality of information is a long-standing problem. Pure functional programming languages, like Haskell, make it possible to enforce lightweight information-flow control through libraries like MAC by Russo. This work presents DepSec, a MAC inspired, dependently typed library for static information-flow control in Idris. We showcase how adding dependent types increases the expressiveness of state-of-the-art static information-flow control libraries and how DepSec matches a special-purpose dependent information-flow type system on a key example. Finally, we show novel and powerful means of specifying statically enforced declassification policies using dependent types.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑