当前位置:网站首页>权限模型 DAC ACL RBAC ABAC
权限模型 DAC ACL RBAC ABAC
2022-06-24 06:57:00 【xcrj】
访问控制方式
| 访问控制 | 介绍 |
|---|---|
| 自主访问控制(DAC,Discretionary Access Control) | |
| 强制访问控制 (MAC,Mandatory Access Control) | |
| 访问控制列表(ACL,Access Control List) | 主体以什么样的行为访问客体资源 |
| 基于角色访问控制 (RBAC,Role-based Access Control) | 用户、角色、权限(资源、操作) |
| 基于属性访问控制 (ABAC,Attribute-based Access Control) | 根据实体属性、环境属性、操作属性进行权限控制 |
ACL
主体以什么样的行为访问客体资源
访问实体 (Subject),访问资源 (Object) 和访问方法 (Action)
主体、客体、行为
- 主体:用户,角色
- 客体:资源
- 行为:读写执行
RBAC
RBAC分为几个版本
- RBAC0:用户,角色,权限(资源,操作)
- RBAC1:RBAC0+角色可继承(父子角色)
- RBAC2:RBAC0+角色限制(静态限制,动态限制)
- RBAC3:综合了RBAC0,RBAC1,RBAC2
用户、角色、权限(资源、操作)
RBAC0


RBAC1

RBAC2

SSD(静态职责分离)
- 角色互斥约束:避免监守自盗
- 角色数量约束:用户拥有有限个角色,角色拥有有限个权限
- 角色级别约束:必须先低级别角色,才能拥有高级别角色
DSD(动态职责分离)
- 一次会话中,用户拥有3个角色,只能激活1个角色
RBAC3

ABAC
根据实体属性、环境属性、操作属性进行权限控制
适合复杂的权限需求,可以满足所有权限需求
对比 RBAC-ABAC
| 模型 | 特点 |
|---|---|
| RBAC | 工程量越大,需要维护角色和授权关系越大 |
| ABAC | 适用复杂场景,粒度更细,策略更多 |
边栏推荐
- [introduction to point cloud dataset]
- Part 1: building OpenGL environment
- 软件过程与项目管理期末复习与重点
- 51 single chip microcomputer_ External interrupt and timer / Counter interrupt
- js滚动div滚动条到底部
- In the post epidemic era, the home service robot industry has just set sail
- Future trends in automated testing
- Application of JDBC in performance test
- Optimization and practice of Tencent cloud EMR for cloud native containerization based on yarn
- The applet reads more than 20 data, and the cloud function reads more than 100 restrictions
猜你喜欢

How to use the virtual clock of FPGA?

Application of JDBC in performance test

C语言_字符串与指针的爱恨情仇
![[008] filter the table data row by row, jump out of the for cycle and skip this cycle VBA](/img/a0/f03b8d9c8f5e53078c38cce11f8ad3.png)
[008] filter the table data row by row, jump out of the for cycle and skip this cycle VBA

宝塔面板安装php7.2安装phalcon3.3.2

1279_ Vsock installation failure resolution when VMware player installs VMware Tools

More appropriate development mode under epidemic situation

首次曝光 唯一全域最高等级背后的阿里云云原生安全全景图

不止于观测|阿里云可观测套件正式发布
![[run the script framework in Django and store the data in the database]](/img/6b/052679e5468e5a90be5c4339183f43.png)
[run the script framework in Django and store the data in the database]
随机推荐
Do you still have the opportunity to become a machine learning engineer without professional background?
GraphMAE----论文快速阅读
Examples of corpus data processing cases (reading multiple text files, reading multiple files specified under a folder, decoding errors, reading multiple subfolder text, batch renaming of multiple fil
Pagoda panel installation php7.2 installation phalcon3.3.2
工控机防破解
你还只知道测试金字塔?
Unity culling related technologies
Interview tutorial - multi thread knowledge sorting
Analysis of abnormal problems in domain name resolution in kubernetes
Question 1: the container that holds the most water
贷款五级分类
Upgrade Mysql to the latest version (mysql8.0.25)
2021-03-16 COMP9021第九节课笔记
LINQ query (2)
一文理解同步FIFO
Model effect optimization, try a variety of cross validation methods (system operation)
Understanding of the concept of "quality"
Leetcode exercise - jumping game, combination summation
MySQL source and target table row count check
Shader common functions