Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization
Proceedings of the ACM on Programming Languages · 2024-04-29 · 8 (OOPSLA1) · 670-697
DOI: 10.1145/3649835 ↗At a glance
Journal article in Proceedings of the ACM on Programming Languages, published online on 2024-04-29. Written by Joseph W. Cutler and 14 co-authors. Cited 43 times so far (Crossref); 55 references. The full text is freely available (open access, CC BY 4.0).
Abstract (original language)
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.
Cite
APA
Cutler, J. W., Disselkoen, C., Eline, A., He, S., Headley, K., Hicks, M., Hietala, K., Ioannidis, E., Kastner, J., Mamat, A., McAdams, D., McCutchen, M., Rungta, N., Torlak, E., & Wells, A. M. (2024). Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization. Proceedings of the ACM on Programming Languages, 8(OOPSLA1), 670-697. https://doi.org/10.1145/3649835
Vancouver
Cutler JW, Disselkoen C, Eline A, He S, Headley K, Hicks M, et al. Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization. Proceedings of the ACM on Programming Languages. 2024;8(OOPSLA1):670-697. doi:10.1145/3649835
BibTeX
@article{Cutler2024,
author = {Cutler, Joseph W. and Disselkoen, Craig and Eline, Aaron and He, Shaobo and Headley, Kyle and Hicks, Michael and Hietala, Kesha and Ioannidis, Eleftherios and Kastner, John and Mamat, Anwar and McAdams, Darin and McCutchen, Matt and Rungta, Neha and Torlak, Emina and Wells, Andrew M.},
title = {Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization},
journal = {Proceedings of the ACM on Programming Languages},
year = {2024},
volume = {8},
number = {OOPSLA1},
pages = {670--697},
doi = {10.1145/3649835}
}
EUVIMED