Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization

Author:

Cutler Joseph W.1ORCID,Disselkoen Craig2ORCID,Eline Aaron2ORCID,He Shaobo3ORCID,Headley Kyle4ORCID,Hicks Michael2ORCID,Hietala Kesha2ORCID,Ioannidis Eleftherios1ORCID,Kastner John2ORCID,Mamat Anwar5ORCID,McAdams Darin6ORCID,McCutchen Matt7ORCID,Rungta Neha6ORCID,Torlak Emina6ORCID,Wells Andrew M.3ORCID

Affiliation:

1. University of Pennsylvania, Philadelphia, USA

2. Amazon Web Services, Arlington, USA

3. Amazon Web Services, Santa Clara, USA

4. Unaffiliated, Arlington, USA

5. University of Maryland, College Park, USA

6. Amazon Web Services, Seattle, USA

7. Unaffiliated, Rockville, USA

Abstract

Cedar is a new authorization policy language designed to be ergonomic, fast, safe, and analyzable. Rather than embed authorization logic in an application’s code, developers can write that logic as Cedar policies and delegate access decisions to Cedar’s evaluation engine. Cedar’s simple and intuitive syntax supports common authorization use-cases with readable policies, naturally leveraging concepts from role-based, attribute-based, and relation-based access control models. Cedar’s policy structure enables access requests to be decided quickly. Cedar’s policy validator leverages optional typing to help policy writers avoid mistakes, but not get in their way. Cedar’s design has been finely balanced to allow for a sound and complete logical encoding, which enables precise policy analysis, e.g., to ensure that when refactoring a set of policies, the authorized permissions do not change. We have modeled Cedar in the Lean programming language, and used Lean’s proof assistant to prove important properties of Cedar’s design. We have implemented Cedar in Rust, and released it open-source. Comparing Cedar to two open-source languages, OpenFGA and Rego, we find (subjectively) that Cedar has equally or more readable policies, but (objectively) performs far better.

Publisher

Association for Computing Machinery (ACM)

Reference55 articles.

1. Subtyping with singleton types

2. authzed-spicedb 2024. spicedb. https://github.com/authzed/spicedb. Open Source Google Zanzibar-inspired permissions database to enable fine-grained access control for customer applications.

3. aws-iam 2024. Access Management – AWS Identity and Access Management (IAM). https://aws.amazon.com/iam/.

4. azure-policy 2024. Azure policy documentation. https://learn.microsoft.com/en-us/azure/governance/policy/.

5. John Backes Pauline Bolignano Byron Cook Catherine Dodge Andrew Gacek Kasper Luckow Neha Rungta Oksana Tkachuk and Carsten Varming. 2018. Semantic-based Automated Reasoning for AWS Access Policies using SMT. In 2018 Formal Methods in Computer Aided Design (FMCAD). 10.23919/FMCAD.2018.8602994

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Topaz: Declarative and Verifiable Authoritative DNS at CDN-Scale;Proceedings of the ACM SIGCOMM 2024 Conference;2024-08-04

2. How We Built Cedar: A Verification-Guided Approach;Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering;2024-07-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3