# FHIR Role-Based Access Control (RBAC) ###### tags: `fhir-project` `rbac` ## Table of Contents [TOC] ## Background ![](https://i.imgur.com/x12scif.png =300x200) ![](https://i.imgur.com/BxmaHJB.png =300x220) Role-Based Access Control (RBAC) is a security paradigm whereby users are granted access to resources based on their role in the company. Almost every system need a login page with RBAC mechanism to restricts system access. In this page, we describe RBAC mechanism using FHIR framework: * User: How to use the RBAC system ([Demo](https://victoriatjia.github.io/FHIR_RBAC/html/login.html)) * [Developer](https://hackmd.io/OSNU2j9BQTqB7Y3Ltoz7oA?view): How to use FHIR framework for RBAC mechanism ([Source Code](https://github.com/victoriatjia/FHIR_PatientPortal)) ## Purpose * Build a login page that would integrate with any website page * Define RBAC to restricts user access based on their role