Best of AuthorizationNovember 2024

  1. 1
    Article
    Avatar of cerbosCerbos·2y

    How to use ReactJS for secure Role Based Access Control

    ReactJS simplifies building interactive user interfaces through reusable components. By integrating Cerbos, a modern Authorization-as-a-Service solution, developers can efficiently handle authorization for an internal admin dashboard. Cerbos provides a flexible Policy Decision Point (PDP) that can be deployed in various environments, ensuring secure Role Based Access Control (RBAC). Using Docker, developers can test and implement policies to manage roles and permissions precisely, preventing unauthorized access to sensitive information and streamlining user role management.

  2. 2
    Video
    Avatar of davegrayDave Gray·1y

    Permissions & Authorization in a Next.js Full Stack Project

    Dave provides a lesson on applying permissions in a Next.js full stack application. He explains how to set up permissions for users, employees, managers, and admins, emphasizing the importance of restricting access based on roles. The tutorial includes integration with Sentry for error reporting and performance monitoring. Detailed walkthroughs guide users through installing required packages, setting up Kind for user management, and configuring permissions using Kind's management API. The tutorial also addresses compatibility issues with using Next.js 15 and React 19.

  3. 3
    Article
    Avatar of cerbosCerbos·1y

    Access control for RAG and LLMs - live demo

    As more businesses adopt Retrieval Augmented Generation (RAG) models to enhance their AI systems, managing access control becomes crucial. The live demo by Alex Olivier illustrated how Cerbos PDP can implement authorization in RAG architectures. Key challenges include unauthorized data exposure and the need for dynamic data access. Cerbos provides context-aware authorization decisions, safeguarding sensitive data and ensuring compliance.

  4. 4
    Article
    Avatar of cerbosCerbos·2y

    Implementing authorization in RAG-based AI systems with Cerbos

    Cerbos introduces a new access control feature for Retrieval Augmented Generation (RAG) and Large Language Models (LLMs), helping software builders secure their AI applications. This solution addresses the challenge of providing AI models with context while ensuring privacy and authorization policies are not violated. Cerbos' functionality applies row-level data filtering before data is passed to the LLM, ensuring responses are tailored to user access privileges. It reconciles the need for vast data access in AI with the Zero Trust principle of least privilege access.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Implement RBAC in a Community Dashboard with Nuxt

    Learn how to implement Role-Based Access Control (RBAC) in a community dashboard using Nuxt and Permit.io. The post explains the differences between authentication and authorization, outlines the benefits of using Authorization as a Service, and provides a step-by-step guide on setting up Permit.io within a Nuxt application. Additionally, it covers creating a middleware for API access control and testing the RBAC implementation with a demo community dashboard.