核心交易系统数据库应用程序绑定账号权限收缩方案
核心交易系统数据库应用程序绑定账号权限收缩方案
一、核心交易系统数据库现存问题核心系统由于历史遗留问题导致应用账号权限分配过大,目前应用人员具备核心数据库的所有权限,存在数据库管理审计复杂及安全隐患,需要进行调整及优化。
二、整改优化后的目标
确保核心系统的可控、安全、稳定以及DBA对核心系统具备精细化的管理能力
三、实施步骤
1.登录核心数据库服务器
2.使用root账号添加如下账号:
mkuser db2bpkg
#备机需要添加该账号且账号密码遵循相应规范
3.登录核心系统数据库服务器,使用db2inst1账号进行授权:
db2 connect to cbusdb
db2 grant connect on database to user db2bpkg
#授予账号connect权限
db2 grant bindadd on database to user db2bpkg
#授予账号创建包权限
db2 grant dataaccess on database to user db2bpkg
#授予账号数据访问权限,因程序包即SQL需要操作数据的权限
#最小化授权保证新建账号只有DML权限,不再具备DDL权限
db2 grant createin,alterin on schema db2inst1 to user db2bpkg
#授予账号在db2inst1模式下修改、创建程序包的权限
4.业务验证
1.发版验证期间业务验证,登录cics应用服务器;
2.使用cbus账号并切到bnd程序路径下
cd /cbus/cboddb/bnd
3.使用新建账号db2bpkg执行应用程序的绑定任务
db2 connect to cbusdb user db2bpkg using db2bpkg
db2 bind a.bnd action replace qualifier db2inst1
四、应急措施
1.用新建账号绑定的应用程序包CICS无法正常访问,使用db2inst1账号重新绑定应用程序即可
五、回退操作步骤
1.访问核心数据库服务器,并使用db2inst1账号执行如下操作
db2 connect to cbusdb
db2 revoke connect on database from user db2bpkg
db2 revoke bindadd on database from user db2
db2 revoke dataaccess on database to user db2bpkg
db2 revoke createin,alterin on schema db2inst1 to user db2bpkg
2.使用root账号删除新建账号db2bpkg
userdel -r db2bpkg
#在备机重复以上操作

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



In recent days, Ice Universe has been steadily revealing details about the Galaxy S25 Ultra, which is widely believed to be Samsung's next flagship smartphone. Among other things, the leaker claimed that Samsung only plans to bring one camera upgrade

OnLeaks has now partnered with Android Headlines to provide a first look at the Galaxy S25 Ultra, a few days after a failed attempt to generate upwards of $4,000 from his X (formerly Twitter) followers. For context, the render images embedded below h

Alongside announcing two new smartphones, TCL has also announced a new Android tablet called the NXTPAPER 14, and its massive screen size is one of its selling points. The NXTPAPER 14 features version 3.0 of TCL's signature brand of matte LCD panels

The Vivo Y300 Pro just got fully revealed, and it's one of the slimmest mid-range Android phones with a large battery. To be exact, the smartphone is only 7.69 mm thick but features a 6,500 mAh battery. This is the same capacity as the recently launc

Samsung has not offered any hints yet about when it will update its Fan Edition (FE) smartphone series. As it stands, the Galaxy S23 FE remains the company's most recent edition, having been presented at the start of October 2023. However, plenty of

In recent days, Ice Universe has been steadily revealing details about the Galaxy S25 Ultra, which is widely believed to be Samsung's next flagship smartphone. Among other things, the leaker claimed that Samsung only plans to bring one camera upgrade

The Redmi Note 14 Pro Plus is now official as a direct successor to last year'sRedmi Note 13 Pro Plus(curr. $375 on Amazon). As expected, the Redmi Note 14 Pro Plus heads up the Redmi Note 14 series alongside theRedmi Note 14and Redmi Note 14 Pro. Li

OnePlus'sister brand iQOO has a 2023-4 product cycle that might be nearlyover; nevertheless, the brand has declared that it is not done with itsZ9series just yet. Its final, and possibly highest-end,Turbo+variant has just beenannouncedas predicted. T
