Tag

Engineering

All articles tagged Engineering.

Simple role-based access control in Ruby

Simple role-based access control in Ruby

Tired of tangled if statements and scattered permission logic? This post walks through the evolution from DIY role checks in Ruby to scalable, production-grade authorization using Cerbos—improving your flow without rewriting your app.

GuideEngineering
Twain TaylorMay 13, 2025
Authorization for non-human identities (NHIs) with Cerbos

Authorization for non-human identities (NHIs) with Cerbos

Learn all about non-human identities - what they are, why securing them is important, along with how Cerbos can be used to effectively authorize NHIs.

GuideEngineering
Alex OlivierApril 04, 2025
SPIFFE identity parsing added to Cerbos PDP

SPIFFE identity parsing added to Cerbos PDP

Cerbos PDP now supports native parsing and evaluation of SPIFFE identities in authorization policies. This unlocks precise access control for non-human identities (NHIs) like services, workloads, and containers that rely on SPIFFE-based workload identity.

GuideAnnouncementEngineering
Alex OlivierApril 03, 2025
Cerbos Prisma integration v2.0: More powerful fine-grained authorization

Cerbos Prisma integration v2.0: More powerful fine-grained authorization

Latest update to the Cerbos reference Prisma Query Plan Adapter - making it even easier to enforce fine-grained access control within applications using Prisma ORM. In this blog post, we’ll explore the new features, use cases enabled, and how you can start using it today.

GuideAnnouncementEngineering
Alex OlivierMarch 17, 2025
Simple Role-Based Access Control in JavaScript

Simple Role-Based Access Control in JavaScript

Learn how to integrate Cerbos into a JavaScript To-Do List application for robust role-based access control (RBAC). This guide covers setting up Cerbos, defining roles and permissions, and best practices for secure and scalable authorization management. Perfect for developers looking to enhance application security with fine-grained access control.

GuideIntegrationEngineering
Apoorv TripathiMarch 17, 2025
Enterprise access control in service-oriented architectures

Enterprise access control in service-oriented architectures

Choosing the right access control model for your enterprise isn't just a technical decision - it’s a business one. Explore the challenges of role explosion, the advantages of attribute-based access, and how a hybrid approach can simplify authorization while ensuring compliance and security.

GuideEngineering
H.A. WriterMarch 12, 2025
Authorization at the edge

Authorization at the edge

Discover how slow authorization impacts user experience and why it matters for your application's success. Learn about edge authorization as a powerful solution that reduces latency, improves reliability, and enhances performance across various industries—from e-commerce to healthcare. Explore real-world examples and implementation strategies to transform authorization from a security bottleneck into a competitive advantage.

Engineering
David EketeMarch 04, 2025
Audit logs for Cerbos Hub Embedded PDPs

Audit logs for Cerbos Hub Embedded PDPs

We’ve introduced support for capturing audit decision logs from the Cerbos Hub Embedded Policy Decision Points (ePDP) using the latest version of the Cerbos Javascript SDK. Learn how this feature enables organizations to track and analyze authorization decisions made locally in embedded environments, ensuring complete visibility and auditability, without relying on a centralized PDP or Cerbos Hub.

AnnouncementGuideEngineering
Alex OlivierFebruary 27, 2025
How to implement an authorization system for RAG using LangGraph, Cerbos and Pinecone

How to implement an authorization system for RAG using LangGraph, Cerbos and Pinecone

Dive into implementing an authorization system for your RAG app using LangGraph, Pinecone, and Cerbos. Along the way, you’ll learn how to: set up a Pinecone dataset for RAG, build an Enterprise Resource Planning RAG application with LangGraph, Implement Role-Based Access Control and Attribute-Based Access Control using Cerbos.

EngineeringGuide
Usman MalikFebruary 20, 2025
How to implement authorization using Cerbos in Go

How to implement authorization using Cerbos in Go

Learn how to implement robust authorization in a web application using Cerbos, a powerful authorization engine, and Echo, a fast and minimalist Go web framework for building our application's backend. By the end of this guide, you'll know how to set up a secure RESTful API in Go and enforce access control policies using Cerbos.

GuideEngineering
Kunal VermaFebruary 18, 2025
Authorization and access control in Flask

Authorization and access control in Flask

Learn how to implement robust authorization in Flask applications using Cerbos, a powerful open-source policy decision point (PDP) that separates authorization logic from your application code. This tutorial walks you through integrating Cerbos with a Flask blog application, demonstrating how to define flexible YAML-based policies that control user access and permissions without modifying your codebase.

GuideEngineering
Osinachi ChukwujamaFebruary 04, 2025
Statements about stateless

Statements about stateless

Curious about how "stateless" systems work when everything needs state? Join long-time sysadmin Dan to learn about the core principles and real-world challenges of stateless architecture—and what actually happens when theory meets practice.

Engineering
Daniel MaherJanuary 30, 2025
useAsyncFetcher: How to implement an asynchronous fetch function in a Remix app

useAsyncFetcher: How to implement an asynchronous fetch function in a Remix app

Presenting remix-use-async-fetcher, a technique and library for implementing an asynchronous fetch function in a Remix application by leveraging clientLoader. Clear explanations, code examples, a functional library, and a demo app are all included!

Engineering
Hasan AyanJanuary 16, 2025
How to build an authorization system for your RAG applications with LangChain, Chroma DB and Cerbos

How to build an authorization system for your RAG applications with LangChain, Chroma DB and Cerbos

Learn how to implement authorization systems for your Retrieval Augmented Generation apps. Deep dive into security concerns for RAG architecture, authorization techniques to address the security issues, and how to implement RAG authorization system using Cerbos, an open-source authorization layer.

GuideEngineering
Usman MalikDecember 19, 2024
CRDTs and collaborative playgrounds

CRDTs and collaborative playgrounds

Learn about Conflict-Free Replicated Data Types, Yjs, and how we built a collaborative, real-time playground in a web browser.

Engineering
Sam LockDecember 17, 2024
Easy way to put user role in JWT

Easy way to put user role in JWT

Learn about embedding user roles in JWTs for managing access control in your applications. Use the technique described in this article with care. If you end up abusing this method, you'll fall into the bloated JWT anti-pattern.

GuideEngineering
Fernando DoglioOctober 29, 2024
Using Cerbos authorization with JSON Web Tokens

Using Cerbos authorization with JSON Web Tokens

Learn how to implement Cerbos authorization in JWT, in a JavaScript application using Next.js. This guide demonstrates combining JSON Web Tokens for secure authentication and Cerbos' policy-based engine for robust authorization, enabling simple access control management for your APIs.

GuideEngineeringIntegration
Fernando DoglioOctober 24, 2024
Cerbos Hub - July Product Updates

Cerbos Hub - July Product Updates

Cerbos Hub July updates: GA launch, selective policy compilation for embedded PDP, detailed build error feedback, new Playground templates, and user profile management. Enhance your authorization systems with self-contained policy bundles and streamline policy creation. Learn more about these updates in our latest blog post.

GuideEngineering
Alex OlivierJuly 24, 2024