reading-notes

Class 33: Reading: <Login /> and <Auth />

Link to article: What is Role Based Access Control (RBAC)?

Link to article: react-cookie library

Link to article: react-cookies component


Bookmarks


What is Role Based Access Control (RBAC)?

What is Role Based Access Control (RBAC)?

Role-Based Access Control (RBAC) is a method of restricting network access based on a person’s role within an organization, ensuring that employees only have access to the information necessary for their job.

Share some an example of RBAC including all possible CRUD operations and correlating roles.

In an RBAC system, different roles can have specific permissions for Create, Read, Update, and Delete (CRUD) operations. For example, in a file management system:

What are the Benefits of RBAC?

The benefits of RBAC include reducing administrative work and IT support, maximizing operational efficiency, and improving compliance with regulations. RBAC helps streamline access control, minimizes errors in assigning permissions, enables quick role changes, enhances productivity, and ensures better data privacy and confidentiality.

Describe some react-cookie features.

React Cookie is a library for managing cookies in React applications. Its features include:

In summary, React Cookie simplifies cookie management in React with a concise API and support for various scenarios.

Describe some react-cookies features.

React Cookies is a lightweight library for handling cookies in React applications. Some of its features include:

Which library would you prefer? Why?

I would prefer react-cookies because it provides a straightforward API for reading, writing, and removing cookies. It also supports server-side rendering and has cross-browser compatibility.