oracle 11g Oracle Database Vault 的配置方法
1、透過 dva 來建立使用者。
SQL> connect dva/PreDva13588
Connected.
SQL> create user acct identified by acct;
User created.
2、透過 SYS 來給使用者進行授權。
[oracle@PJKMISDB OPatch]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Mon Nov 23 11:04:07 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL> grant create session to test5;
Grant succeeded.
SQL> grant resource to test5;
Grant succeeded.
3、配置 database vault
在瀏覽器中輸入 https://192.168.126.41:1158/dva
保護物件為acct使用者下的所有內容,許可權授予acct自身。
4、進行測試
建立一個使用者 test ,授予 create session 許可權,並將 acct 下的一張測試表 emp 的查詢許可權賦予它
SQL> connect test/test@//localhost/pdb1
Connected.
SQL> select * from acct.emp;
ID
----------
100
400
500
200
300
透過 SYS 使用者進行測試,可以看到 SYS 使用者並沒有許可權訪問此表
SQL> connect / as sysdba
Connected.
SQL> select * from acct.emp;
select * from test.emp
*
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> connect dva/PreDva13588
Connected.
SQL> create user acct identified by acct;
User created.
2、透過 SYS 來給使用者進行授權。
[oracle@PJKMISDB OPatch]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Mon Nov 23 11:04:07 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SQL> grant create session to test5;
Grant succeeded.
SQL> grant resource to test5;
Grant succeeded.
在瀏覽器中輸入 https://192.168.126.41:1158/dva
保護物件為acct使用者下的所有內容,許可權授予acct自身。
4、進行測試
建立一個使用者 test ,授予 create session 許可權,並將 acct 下的一張測試表 emp 的查詢許可權賦予它
SQL> connect test/test@//localhost/pdb1
Connected.
SQL> select * from acct.emp;
ID
----------
100
400
500
200
300
SQL> connect / as sysdba
Connected.
SQL> select * from acct.emp;
select * from test.emp
*
ERROR at line 1:
ORA-01031: insufficient privileges
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-1844233/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE database vaultOracleDatabase
- 初識 "Oracle Database Vault"OracleDatabase
- 關於Oracle Database Vault介紹OracleDatabase
- oracle之 oracle database vault(資料庫保險庫)OracleDatabase資料庫
- Oracle大會PPT 用Oracle Database Vault 保護你的資料OracleDatabase
- Audit Vault and Database VaultDatabase
- 話說 Oracle Audit Vault 和Oracle DB VaultOracle
- Oracle 11G Duplicate DatabaseOracleDatabase
- 詳說Oracle Vault——原理、安裝與配置Oracle
- [Oracle] oracle 11g database install(linux)OracleDatabaseLinux
- Oracle Database 11g Launch WebcastOracleDatabaseWebAST
- oracle10g database vault 訪問Realms相關的資料字典OracleDatabase
- Oracle 11g Database Replay 實驗OracleDatabase
- Oracle 11g Rman Active database duplicateOracleDatabase
- Oracle Database 11g索引技術OracleDatabase索引
- Cursor Sharing in Oracle Database 11gOracleDatabase
- Oracle Database 11g 第2版中的 Oracle Advanced SecurityOracleDatabase
- Uninstall database vaultDatabase
- Oracle 11g Database靜默安裝OracleDatabase
- 簡化 Oracle Linux 6 上的 Oracle Database 11g 安裝OracleLinuxDatabase
- 聊聊Oracle 11g的Snapshot Standby Database(上)OracleDatabase
- 聊聊Oracle 11g的Snapshot Standby Database(下)OracleDatabase
- 對ORACLE Database 11g RAC的學習感受。。OracleDatabase
- oracle 11G dataguard配置Oracle
- Using Oracle Database 11g Release 2 Result Cache in an Oracle RAC EnvironmentOracleDatabase
- 11g oracle database installation with oracle grid infrastructure on linux(文件)OracleDatabaseASTStructLinux
- Partitioning Enhancements in Oracle Database 11g Release 1OracleDatabase
- Automatic SQL Tuning in Oracle Database 11gSQLOracleDatabase
- Oracle Database 11g閃回技術flashbackOracleDatabase
- Oracle Database 11g Release 2 RAC On LinuxOracleDatabaseLinux
- Oracle 11g Data Guard 使用 duplicate from active database 建立 standby databaseOracleDatabase
- Oracle 11g Data Guard 使用duplicate from active database 建立 standby databaseOracleDatabase
- [zt] Oracle 11g DataGuard 配置Oracle
- DATABASE VAULT授權的安全隱患Database
- Oracle 11g解除安裝grid和databaseOracleDatabase
- Oracle 11g Data Guard 使用duplicate from active databaseOracleDatabase
- Oracle Database 11G 效能優化工具概覽OracleDatabase優化
- 使用Oracle Database 11g建立Interval分割槽表OracleDatabase