Best of Cerbos2024

  1. 1
    Article
    Avatar of cerbosCerbos·2y

    Simple Role-Based Access Control in JavaScript

    Learn how to integrate Cerbos, an open-source authorization layer, with a JavaScript To-Do List application to implement role-based access control (RBAC). Understand the benefits of using RBAC and Cerbos for better security and scalability. The tutorial covers policy creation, testing, and implementation. Examples demonstrate how different permissions can be assigned to various roles such as admin and user.

  2. 2
    Article
    Avatar of cerbosCerbos·2y

    A Complete Guide to Next.js Authorization

    Learn about authorization in Next.js using Cerbos, an open-source authorization project. Understand how authorization works, how to integrate it into a Next.js application, and implement attribute-based access control (ABAC) and role-based access control (RBAC).

  3. 3
    Article
    Avatar of cerbosCerbos·2y

    PBAC vs. Zanzibar: Finding The Right Fit For Your Application

    Policy-Based Access Control (PBAC) and Zanzibar-based authorization are two distinct approaches to managing user access. PBAC is adaptable and efficient, especially when implemented with a stateless architecture like Cerbos, making it suitable for dynamic applications with frequently changing requirements. Zanzibar, inspired by Google's access control methods, offers fine-grained control and consistency through a centralized system but can introduce complexity and latency. Choosing the right approach depends on the specific needs of your application, such as the necessity for real-time adaptability versus centralized precision.

  4. 4
    Article
    Avatar of cerbosCerbos·2y

    How to implement authorization using Cerbos in Go

    Learn how to implement robust authorization in a Go web application using Cerbos and Echo. This guide walks you through setting up a secure RESTful API to enforce access control policies, detailing necessary components like in-memory databases, API routes, and handlers. By the end, you'll be able to create an efficient role-based access control (RBAC) system, ensuring users have appropriate permissions based on their roles.

  5. 5
    Article
    Avatar of cerbosCerbos·2y

    How to use Cerbos in Docker Compose (PDP + Hub)

    Learn how to use Cerbos in a Docker environment and understand its main components.