This document discusses role-based access control (RBAC) and provides examples of implementing RBAC in Perl applications. It begins with definitions of authentication and authorization. It then covers authentication processes, examples of authentication modules for Perl, and how to implement authentication sessions. The document discusses different types of authorization, including simple, lattice-based access control and RBAC. It provides an example of a simple authorization module for Catalyst and an example CPAN module for lattice-based access control. A significant portion of the document is dedicated to explaining RBAC in depth, including academic papers on RBAC, emerging standards, existing security implementations using RBAC, and Perl implementations of RBAC. It provides examples of RBAC design and implementation.