ORACLE TDE Transparent Data encryption technology

Source: Internet
Author: User

Transparent data encryption technology starting from Orale 10GR2 Technique (Transparent Data encryption,TDE)

TDEused toencryption of data, usuallySQLThe application logic executed does not need to be changed and will still function correctly. In other words, an application can use the same syntax to insert data into an application table, andOracleDataThe library will automatically do the data before writing the information to the diskencryption. the subsequentThe selection operation transparently decrypts the data, so the application will continue to run normally. This is important because the current application typically expects unencrypted application data. displaying encrypted data is at least confusing to the application user and even destroying existing applications.

To set the encryption key :

manage You must open an Oracle Wallet object with a password different from the system password or DBA password. Then, manage Initialize the database universal key. The universal key is automatically generated.

Quasi standby to an encrypted database

Add a encrypted_wallet_location entry in the Sqlnet.ora in $oracle_home/network/admin.

Encryption_wallet_location= (Source= (Method=file) (Method_data= (directory=/u01/oracle/product/11.2.0.1.0/wallet/ )))

Enter the database to execute the following statement

Alter system set key identified by "Welcome"

If the following error is indicated, the wallet is not created automatically, possibly because the wallet directory needs to be created manually

Ora-28368:cannot auto-create Wallet

Manually create the Wallet directory and grant access to Oracle users.

Alter system set key identified by "welcome"; Sql> conn hr/hrsql> CREATE TABLE test (ID number,credit_card_number varchar2 (+) ENCRYPT NO SALT); sql> INSERT INTO test values (1, ' 12312432 '); 1 row created. sql> INSERT INTO test values (2, ' 33245235 '); Sql> commit; Commit complete. Sql> select * from test;

At this point, you can see the encrypted data, and when you reboot, you will not see the encrypted data again. This time you need to open wallet to view encrypted data

Alter system set wallet open identified by "welcome1";

SYS with The user's table cannot be encrypted

This article is from the "linuxoracle" blog, make sure to keep this source http://onlinekof2001.blog.51cto.com/3106724/1672536

ORACLE TDE Transparent Data encryption technology

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.