Apache Casbin
Apache Casbin: Flexible policy enforcement for teams that need control across cloud and self-hosted deployments. Ranked #1 of 25 in Authorization Software by our editors (9.4/10); pricing: Free plan; best for broad, flexible authorization across deployment models.
At a glance
- Editor score9.4 / 10
- PricingFree plan
- Best forBroad, flexible authorization across deployment models
- Free planYes
- Paid fromFree
- Policy modelHybrid
- Facts checked17 Nov 2026
Where it wins
- Supports ACL, RBAC, ABAC, ReBAC and other policy patterns
- Runs embedded or remotely through gRPC or HTTP
- Includes adapters, watchers, logging and policy management APIs
Where it doesn't
- Requires developers to define models, matchers and policies
- Operational setup spans persistence, consistency and deployment choices
- Support is centered on community resources and documentation
Our verdict on Apache Casbin
Apache Casbin is an open-source authorization library for applications that evaluate requests against developer-defined models and policies. It fits teams building authorization into web applications, APIs or self-hosted systems, from solo developers through enterprise engineering groups. Common request fields include subject, object and action, while supported patterns include ACL, RBAC, ABAC and relationship-based access control. Role hierarchies, domains and conditions extend the model for more structured authorization needs.
Its main advantage is range across application architecture. Casbin can run as an embedded library or as a separate Casbin Service over gRPC or HTTP, allowing teams to choose local decisions or a remote decision point. Management and RBAC APIs support runtime policy administration, adapters connect policy persistence to external storage, and watchers help keep policy state consistent across nodes. Request, model and policy logging add visibility, while the online browser editor provides syntax highlighting and code completion. Implementations are available for multiple programming languages, supporting varied application stacks.
Casbin is free and open source, with deployment options spanning cloud and self-hosted environments. That flexibility also places responsibility on the adopting team: developers must design models, matchers and policies, select persistence adapters, and decide how policy consistency and service boundaries should operate. Community support and documentation are the stated support channels. Choose Casbin when you want a configurable authorization foundation that can stay inside an application or move to a service; teams seeking a more managed experience may prefer a different authorization product.
Your product? Our editors can test Apache Casbin in depth and publish a review, labelled as paid · from $149/mo →
Apache Casbin pricing
Apache Casbin fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Policy model | Hybrid |
| Deployment | Hybrid |
| Decision mode | Both |
| Policy versioning | Not verified |
| Audit logs | Yes |
| Included decisions | Not verified |
| Deployment | Cloud, Self-hosted |
| Platforms | Web |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | casbin.apache.org |
| Facts checked | 17 Nov 2026 |
Alternatives to Apache Casbin
- Amazon Verified PermissionsManaged, policy-centered authorization for AWS applications that need fine-grained decisions.9.2
- Auth0 Fine-Grained AuthorizationManaged ReBAC authorization with centralized checks, tuple management and enterprise operations.9.0
- Apache RangerA self-hosted, open-source policy hub for governed Hadoop and data-platform access.8.9
See all Apache Casbin alternatives →
Apache Casbin vs the competition
- Apache Casbin vs Amazon Verified Permissions
- Apache Casbin vs Auth0 Fine-Grained Authorization
- Apache Casbin vs Apache Ranger
- Apache Casbin vs Apache Fortress
- Apache Casbin vs AuthZForce
- Apache Casbin vs Axiomatics Access Decision Services
Compare Apache Casbin with any tool side by side →
Used Apache Casbin? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Apache Casbin for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Apache Casbin is listed in our Authorization Software directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/apache-casbin/"><img src="https://www.itechguides.com/best/badge/apache-casbin.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update