当前位置:网站首页>权限模型 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 | 适用复杂场景,粒度更细,策略更多 |
边栏推荐
猜你喜欢

About the iframe anchor, the anchor is offset up and down, and the anchor has page display problems Srcdoc problem of iframe
![[data update] Xunwei comprehensively upgraded NPU development data based on 3568 development board](/img/10/6725b51120a6ae8b16d60f5b1ae904.jpg)
[data update] Xunwei comprehensively upgraded NPU development data based on 3568 development board

Graphmae ---- quick reading of papers

Selenium IDE的安装以及使用

Solve the problem of notebook keyboard disabling failure

Swift Extension ChainLayout(UI的链式布局)(源码)

C语言_字符串与指针的爱恨情仇

The first exposure of Alibaba cloud's native security panorama behind the only highest level in the whole domain

Swift extension chainlayout (UI chain layout) (source code)

一文理解同步FIFO
随机推荐
Chapter 4 line operation of canvas
Écouter le réseau d'extension SWIFT (source)
Methods of vector operation and coordinate transformation
[teacher zhaoyuqiang] use the Oracle tracking file
Swift extension chainlayout (UI chain layout) (source code)
[introduction to point cloud dataset]
软件工程导论——第二章——可行性研究
问题3 — messageBox弹框,修改默认背景色
2021-03-04 COMP9021第六节课笔记
Swift 基础 Swift才有的特性
Optimization and practice of Tencent cloud EMR for cloud native containerization based on yarn
How to use the virtual clock of FPGA?
搜索与推荐那些事儿
12--合并两个有序链表
根据网络上的视频的m3u8文件通过ffmpeg进行合成视频
Understanding of the concept of "quality"
"Adobe international certification" about Adobe Photoshop, creating and modifying brush tutorials?
Pipeline concept of graphic technology
Analysis of abnormal problems in domain name resolution in kubernetes
Application of JDBC in performance test