|国家预印本平台
首页|PermRust: A Token-based Permission System for Rust

PermRust: A Token-based Permission System for Rust

PermRust: A Token-based Permission System for Rust

来源:Arxiv_logoArxiv
英文摘要

Permission systems which restrict access to system resources are a well-established technology in operating systems, especially for smartphones. However, as such systems are implemented in the operating system they can at most manage access on the process-level. Since moderns software often (re)uses code from third-parties libraries, a permission system for libraries can be desirable to enhance security. In this short-paper, we adapt concepts from capability systems building a novel theoretical foundation for permission system at the level of the programming language. This leads to PermRust, a token-based permission system for the Rust programming language as a zero cost abstraction on top of its type-system. With it access to system resources can be managed per library.

Lukas Gehring、Sebastian Rehms、Florian Tschorsch

计算技术、计算机技术

Lukas Gehring,Sebastian Rehms,Florian Tschorsch.PermRust: A Token-based Permission System for Rust[EB/OL].(2025-06-13)[2025-07-16].https://arxiv.org/abs/2506.11701.点此复制

评论