Skip to content
Publications
IEEE TDSCCCF-A2026-07

Casbin: A Graph-Based Approach for Efficient and Verifiable Cloud Authorization

Yang Luo, Qingni Shen, Zhonghai Wu

IEEE Transactions on Dependable and Secure Computing, vol. 23, no. 5, pp. 11051-11068, 2026

Abstract

With the increasing adoption of hybrid cloud, existing authorization systems struggle to meet the increasingly complex authentication and authorization requirements in cloud environments. This paper proposes Casbin, a high-performance and user-friendly authorization framework. Casbin adopts a graph model-based policy language called PERM Modeling Language (PML), which supports various common authorization models such as RBAC and ABAC. Casbin introduces multiple graph computation optimization techniques, enabling millisecond-level authorization decisions under a policy scale of millions. Furthermore, Casbin leverages Satisfiability Modulo Theories (SMT) solvers for automated formal verification of policies, improving policy reliability. Casbin also innovatively utilizes Graph Retrieval-Augmented Generation (Graph RAG) technology to assist in the semi-automated generation of high-quality authorization policies. Experiments show that compared with methods like OpenFGA, Cedar, and SpiceDB, Casbin’s average policy evaluation latency is reduced by 81.7%, and throughput is increased by 4.6 times. On large-scale complex policy sets, Casbin’s SMT-based formal verification achieves a 92.1% recall rate and 94.5% precision rate for violation detection, with verification time controlled within 143.2 seconds. User studies indicate that compared to OpenFGA, Cedar, XACML, etc., PML’s policy completion time is shortened by 57.3%, and accuracy is increased by 16.4%.

Cite

@article{luo2026casbin,
  title = {Casbin: A Graph-Based Approach for Efficient and Verifiable Cloud Authorization},
  author = {Yang Luo and Qingni Shen and Zhonghai Wu},
  journal = {IEEE Transactions on Dependable and Secure Computing},
  volume = {23},
  number = {5},
  pages = {11051--11068},
  year = {2026},
  publisher = {IEEE},
  doi = {10.1109/tdsc.2026.3709803}
}