当前位置:网站首页>如何应对事关业务生死的数据泄露和删改?
如何应对事关业务生死的数据泄露和删改?
2020-11-07 20:15:00 【InfoQ】
一、引言
1. 什么是数据库审计?
对于一个仓库,如果要防盗,常见做法是出入口全装上监控,一旦有问题了,调监控查找异常情况。对数据库来说也类似,数据库也有出入口,对所有连接出入口监控,可以记录下所有的动作,一旦有问题了,通过查询历史动作并进行分析,可以找到关键信息。
故数据库审计可以理解为是记录用户访问数据库行为,定位非法动作,事后追根溯源,提高数据库安全性的功能。
2. 常见的审计方式
常见的审计方式包括以下几个类别:
(1)应用层审计
在应用系统中直接审计,语句还没往数据库后台发就先做了审计,不影响数据库性能,对底层用的是什么数据库也不关心,但对应用系统压力比较大,并且应用系统需要解析语句,有一定复杂度。
(2)传输层审计
往往抓包解析实现,对上下层都没什么影响,但同样要解析语句,有一定复杂度,并且如果传输层是通过加密通讯,将无法解析。
(3)内核审计
直接在内核上实现,所有功能都能实现,也能将性能影响降到最低,但是对后台稳定性会有影响,对开发人员要求高,不管是开源还是非开源数据库,都会非常慎重考虑直接在内核上支持审计。
(4)插件审计
对于开源数据库,通常都有提供插件方式增加功能。审计可以以插件直接嵌在内核上,当然会对数据库性能有一定影响,但同样因为直接嵌在内核,很多一手信息能直接拿到,比方说上面没办法回避的语法解析就不用做,而且还能直接拿更多的运行态信息,能开发功能强大又灵活的审计功能。
原文链接:【https://www.infoq.cn/article/a4DNNeVBNuGqLJMR0HhK】。未经作者许可,禁止转载。
版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://www.infoq.cn/article/a4DNNeVBNuGqLJMR0HhK?utm_source=rss&utm_medium=article
边栏推荐
- K-vim installation and the ycmd server shut down (restart with ': ycmrestartserver')
- 我们为什么需要软件工程——从一个简单的项目进行观察
- Git submission specification
- Yum [errno 256] no more mirrors to try solution
- .NETCore3.1+ Vue.js Low code workflow engine
- 【笔记】Error while loading PyV8 binary: exit code 1解决方法
- Python 3 operates the Jenkins module API
- 8.Swarm创建维护和水平扩展Service
- After pulling four message queues into a group, they quarreled
- cubemx做stm32 USB开发
猜你喜欢
从技术谈到管理,把系统优化的技术用到企业管理
Business Facade 与 Business Rule
About Devops seven misunderstandings, 99% of people have been hit!
8. Swarm creates maintenance and horizontal extension service
How to use Gantt chart layers and filters
MongoDB下,启动服务时,出现“服务没有响应控制功能”解决方法
gitlab 持续集成开发环境之CI/CD
如何利用PopupWindow实现弹出菜单并解决焦点获取以及与软键盘冲突问题
C语言I博客作业03
9.集群之间服务通信 RoutingMesh
随机推荐
chrome浏览器跨域Cookie的SameSite问题导致访问iframe内嵌页面异常
C語言重點——指標篇(一文讓你完全搞懂指標)| 從記憶體理解指標 | 指標完全解析
Mate 40 series launch with Huawei sports health service to bring healthy digital life
Top 5 Chinese cloud manufacturers in 2018: Alibaba cloud, Tencent cloud, AWS, telecom, Unicom
Jenkins pipline stage setting timeout
python3操作gitlab
[original] the impact of arm platform memory and cache on the real-time performance of xenomai
滴滴的分布式ID生成器(Tinyid),好用的一批
How does LeadTools detect, read and write barcodes
The official 1909 version of win10 cannot open the real-time protection solution of virus and threat protection in windows security center.
From technology to management, the technology of system optimization is applied to enterprise management
一次公交卡被“盜刷”事件帶來的思考
11.Service更新
如何利用PopupWindow实现弹出菜单并解决焦点获取以及与软键盘冲突问题
PHP backdoor hiding skills
7. Swarm builds clusters
不要把异常当做业务逻辑,这性能可能你无法承受
Solution to st link USB communication error in stlink Download
Vue: Axios uses this pointer
Blazor 準備好為企業服務了嗎?