wallet , auto login , encrypt data, sqlnet.ora
Oracle10gR2 中 Oracle Wallet 的初步使用和維護
http://blog.sina.com.cn/s/blog_4d8a2c970100fjks.html
wallet useful in :
1, client auto login databae.
2, database data encryption.
-- detail settings
1, in client side , set following parameters in sqlnet.ora file .
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = C:temp)
)
)
# THE FOLLOWING PARAMETER IS NEEDED FOR AUTO LOGIN. IF SET TO FALSE, THEN DO NOT ALLOW AUTO LOGIN FEATURE.
SQLNET.WALLET_OVERRIDE = TRUE
-- command to create credential of client login, need to do in client side.
-- Be Aware that all parameter of mksotre is case-sensitive even in windows platform.
mkstore -wrl c:temp -create # create a auto-login wallet (different from encryption data wallet, so the path must be exclusive).
mkstore -wrl c:temp -createCredential emr scott "tiger" -- create an auto-login user credential , allow user scott to login to server emr , which normally login is as : sqlplus .
2,
ENCRYPTION_WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = C:tempenc)
)
)
encryption column sample :
create table t_enc1 ( id number(10) , bank_card_id varchar2(30) encrypt using 'aes256' ) ;
alter table emp modify empno encrypt no salt;
alter table emp modify deptno encrypt no salt
ORA-28335: referenced or referencing FK constraint column cannot be encrypted
SQL> alter table dept modify deptno encrypt no salt;
alter table dept modify deptno encrypt no salt
ORA-28335: referenced or referencing FK constraint column cannot be encrypted
主外來鍵約束的欄位,主表和從表欄位都不能加密.
SQL> alter table emp modify sal decrypt ;
Table altered
SQL> alter table emp modify sal encrypt using 'aes256';
alter table emp modify sal encrypt using 'aes256'
ORA-28340: a different encryption algorithm has been chosen for the table
alter table emp rekey using 'aes256' ; -- change all columns of one table to a different encryption algorighm.
alter table emp rekey using '3des168' ; -- test again.
--- up until now, only encryption wallet could be close clearly . I'm failed to close auto-login wallet.
alter system set [encryption] wallet close identified by "password" ; -- in 11G must specify password if you close a wallet.
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/350519/viewspace-1042451/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- About login/failed_user_auto_unlock work or notAI
- The Impact of the Sqlnet Settings on Database Security (sqlnet.ora Security Parameters and Wallet LoSQLDatabase
- Sqlnet Settings on DB Security (sqlnet.ora Secu Para and Wallet Locat_1240824.1SQL
- Oracle walletOracle
- oracle-walletOracle
- mysql錯誤: [ERROR] InnoDB: auto-extending data file /data/ibdata1 is of a different size 768 pages...MySqlError
- sqlnet.oraSQL
- Encrypted Wallet加密方面的理解加密
- sqlnet.ora作用SQL
- Android Auto-Building Apps for Auto,Getting Started with AutoAndroidUIAPP
- TDE 透明表空間加密 Wallet加密
- login.sqlSQL
- sqlnet.ora parameter (1)SQL
- sqlnet.ora parameter (2)SQL
- auto型別型別
- inherit與auto
- Auto CAD
- android auto-Providing Audio Playback for AutoAndroid
- Oracle OCP(45):sqlnet.oraOracleSQL
- linux命令loginLinux
- Oracle login.sqlOracleSQL
- FAILED_LOGIN_ATTEMPTSAI
- REMOTE_LOGIN_PASSWORDFILEREM
- REMOTE_LOGIN_PASSWORDREM
- MSSQL Server Login and DBUserSQLServer
- php如何openssl_encrypt加密解密PHP加密解密
- Let's Encrypt 泛域名httpsHTTP
- php與java互通aes_encryptPHPJava
- Let's Encrypt,站點加密之旅加密
- Get Let's Encrypt Cert In Five Minutes
- 解密encrypt的儲存過程解密儲存過程
- 關於 MYSQL auto_increment_offset和auto_increment_incrementMySqlREM
- mysql的auto_increment_offset和auto_increment_increment配置MySqlREM
- auto_ptr_ref和auto_ptr的關係 (轉)
- z-index:autoIndex
- macOS Development - Auto LayoutMacdev
- MySQL AUTO_INCREMENTMySqlREM
- Auto關鍵字