


Core trading system database application binding account permission shrinkage solution_PHP tutorial
Jul 12, 2016 am 09:01 AMCore trading system database application binding account permission shrinking scheme
1. Existing problems in the core trading system databaseDue to historical issues, the core system has excessive allocation of application account permissions. At present, Application personnel have all the permissions of the core database. There are complex database management audits and security risks, which need to be adjusted and optimized.
2. Goals after rectification and optimization
Ensure the controllability, security, and stability of the core system and that the DBA has refined management capabilities for the core system
3. Implementation steps
1. Log in to the core database server
2. Use the root account to add the following account:
mkuser db2bpkg
# The backup machine needs to add this account and the account password must follow the corresponding specifications
3. Log in to the core system database server and use the db2inst1 account for authorization:
db2 connect to cbusdb
db2 grant connect on database to user db2bpkg
#Grant account permission to connect
db2 grant bindadd on database to user db2bpkg
#Grant account permission to create packages
db2 grant dataaccess on database to user db2bpkg
#Grant account data access permissions, because the program package is SQL and requires permissions to operate data
#Minimize authorization to ensure that new accounts only have DML permissions and no longer have DDL permissions
db2 grant createin, alterin on schema db2inst1 to user db2bpkg
#Grant the account the permission to modify and create packages in db2inst1 mode
4. Business verification
1. Business verification during release verification, log in to the cics application server ;
2. Use the cbus account and switch to the bnd program path
cd /cbus/cboddb/bnd
3. Use the new account db2bpkg to perform the binding task of the application
db2 connect to cbusdb user db2bpkg using db2bpkg
db2 bind a.bnd action replace qualifier db2inst1
4. Emergency measures
1. The application package CICS bound with the new account cannot be accessed normally. Use the db2inst1 account to rebind the application. Can
5. Rollback steps
1. Access the core database server and use the db2inst1 account to perform the following operations
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. Use root account to delete new account db2bpkg
userdel -r db2bpkg
#Repeat the above operations on the backup machine

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

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

New report delivers damning assessment of rumoured Samsung Galaxy S25, Galaxy S25 Plus and Galaxy S25 Ultra camera upgrades

Samsung Galaxy S25 Ultra leaks in first render images with rumoured design changes revealed

IFA 2024 | TCL\'s NXTPAPER 14 won\'t match the Galaxy Tab S10 Ultra in performance, but it nearly matches it in size

Vivo Y300 Pro packs 6,500 mAh battery in a slim 7.69 mm body

New report delivers damning assessment of rumoured Samsung Galaxy S25, Galaxy S25 Plus and Galaxy S25 Ultra camera upgrades

Samsung Galaxy S24 FE billed to launch for less than expected in four colours and two memory options

Motorola Razr 50s shows itself as possible new budget foldable in early leak

Xiaomi Redmi Note 14 Pro Plus arrives as first Qualcomm Snapdragon 7s Gen 3 smartphone with Light Hunter 800 camera
