<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ihan Anujitha De Silva on Medium]]></title>
        <description><![CDATA[Stories by Ihan Anujitha De Silva on Medium]]></description>
        <link>https://medium.com/@ihananj19?source=rss-a12d91e16a21------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cMBNC3-MxPwT8FVztOugDg.png</url>
            <title>Stories by Ihan Anujitha De Silva on Medium</title>
            <link>https://medium.com/@ihananj19?source=rss-a12d91e16a21------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:56:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ihananj19/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Securing Oracle Databases with TDE: A Complete Guide to Oracle Transparent Data Encryption]]></title>
            <link>https://medium.com/@ihananj19/securing-oracle-databases-with-tde-a-complete-guide-to-oracle-transparent-data-encryption-68e56e9fc623?source=rss-a12d91e16a21------2</link>
            <guid isPermaLink="false">https://medium.com/p/68e56e9fc623</guid>
            <category><![CDATA[oracle-database]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[tde]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Ihan Anujitha De Silva]]></dc:creator>
            <pubDate>Tue, 24 Nov 2026 04:06:51 GMT</pubDate>
            <atom:updated>2026-11-24T04:06:51.876Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z729XQYObCCaZUxOi75b4A.png" /></figure><h3><strong>Introduction</strong></h3><p>Oracle Transparent Data Encryption (TDE) is an advanced database security feature designed to protect sensitive information by encrypting data at rest. It helps prevent unauthorized access to confidential database information stored in datafiles, tablespaces, backups, and other database storage components.</p><p>This process is transparent to database applications, meaning no application-level code changes are required to implement encryption. Applications can continue performing normal database operations without being aware that the underlying data is encrypted.</p><p>Oracle TDE uses encryption keys and a secure keystore (wallet) to manage encryption operations. The keystore securely stores the master encryption key, which is used to protect the database encryption keys. Proper wallet configuration and key management are essential to ensure data availability and security.</p><h3>Why Do We Need Oracle Transparent Data Encryption (TDE)?</h3><p>In modern IT environments, databases store critical and sensitive business information, including customer details, financial records, personal identification numbers, passwords, and transaction data. Protecting this information from unauthorized access is a major responsibility of database administrators and organizations. This is where Oracle Transparent Data Encryption (TDE) plays an important role. TDE provides an additional layer of security by encrypting sensitive database information at rest.</p><h3>Who Can Configure Oracle Transparent Data Encryption (TDE)?</h3><p>Oracle Transparent Data Encryption (TDE) is a security feature that protects sensitive database information by encrypting data at rest. However, configuring and managing TDE requires specific administrative privileges to ensure that encryption keys and keystores are handled securely.</p><p>No every database user can configure TDE. Only users with the appropriate administrative privileges can perform key management and keystore operations.</p><p>1. ADMINISTER KEY MANAGEMENT Privilege<br>The ADMINISTER KEY MANAGEMENT system privilege is required to configure and manage Oracle TDE.</p><p>A user with this privilege can perform operations such as:<br>- Create and configure TDE keystores (wallets).<br>- Open and close encryption keystores.<br>- Create, activate, and manage master encryption keys.<br>- Set and rotate encryption keys.<br>- Configure auto-login keystores.<br>- Export and import encryption keys.<br>This privileg is generally sufficient for performing most TDE key management operations.</p><p>2. SYSKM Administrative Privilege<br>Oracle provides the SYSKM administrative privilege specifically for encryption key management.</p><p>It includes the capabilitie of ADMINISTER KEY MANAGEMENT and provides additional administrative access required for certain keystore management operations.</p><p>For example, when a keystore must be opened during database mount-stage operations, a user connect with the appropriate SYSKM privilege can perform the required administrative tasks.</p><p>Important: If you want a user to connect remotely as SYSKM using a password, configure a Oracle password file and grant the appropriate administrative privilege.</p><h3>How To Creating and Configuring an Oracle TDE Wallet</h3><p>(1) Set the encryption wallet location in sqlnet.ora file.</p><pre>ENCRYPTION_WALLET_LOCATION = <br>(SOURCE = <br>(METHOD = FILE) <br>(METHOD_DATA = <br>(DIRECTORY = /u01/app/oracle/ORACLE_TDE_WALLET/$ORACLE_SID/WALLET) <br>) <br>)</pre><p>(2) Configure the wallet root parameter and restart the database</p><pre>SQL&gt; alter system set wallet_root=&#39;/u01/app/oracle/ORACLE_TDE_WALLET&#39; scope=spfile;</pre><p>(3) Set to tde_configuration parameter in the database</p><pre>SQL&gt; alter system set tde_configuration=&quot;keystore_configuration=file&quot; scope=both;</pre><p>(4) Create the key store and auto-login and restart the database end.</p><pre>SQL&gt; ADMINISTER KEY MANAGEMENT CREATE KEYSTORE IDENTIFIED BY &lt;PASSWORD&gt;; <br><br>SQL&gt; ADMINISTER KEY MANAGEMENT set keystore open identified by &lt;PASSWORD&gt;; <br> <br>SQL&gt; ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY &lt;PASSWORD&gt; with backup;<br><br>SQL&gt; ADMINISTER KEY MANAGEMENT CREATE AUTO_LOGIN KEYSTORE FROM KEYSTORE IDENTIFIED <br>BY  &lt;PASSWORD&gt;; </pre><p>(5) Verify the wallet status when its now is open</p><pre>SQL&gt;<br><br>column STATUS format a20<br>column WRL_PARAMETER format a60<br>column MASTERKEY_ACTIVATED format a20<br>column WALLET_TYPE format a20<br>SELECT CON_ID, STATUS, WRL_PARAMETER,WALLET_TYPE FROM V$ENCRYPTION_WALLET;</pre><h3>How to Encrypt and Decrypt Table Columns Using Oracle TDE</h3><p>(1) How to encrypt column</p><pre>SQL&gt; ALTER TABLE &lt;SCHEMA_NAME&gt;.&lt;TABLE_NAME&gt; MODIFY (&lt;COLUMN_NAME&gt; ENCRYPT);</pre><p>(2) How to decrypt column</p><pre>SQL&gt; ALTER TABLE &lt;SCHEMA_NAME&gt;.&lt;TABLE_NAME&gt; MODIFY (&lt;COLUMN_NAME&gt; DECRYPT);</pre><p>(3) When a salt-related issue</p><p>ORA-28338: Column(s) cannot be both indexed and encrypted with salt<br>28338. 0000 — “Column(s) cannot be both indexed and encrypted with salt”<br>*Cause: An attempt was made to encrypt index column with salt or<br> an attempt was made to create an index on encrypted column with salt.</p><pre>SQL&gt; ALTER TABLE &lt;SCHEMA_NAME&gt;.&lt;TABLE_NAME&gt; MODIFY (&lt;COLUMN_NAME&gt; ENCRYPT NO SALT);</pre><p>(4) How to check encrypted columns</p><pre>SQL&gt; select owner,table_name,column_name,encryption_alg from dba_encrypted_columns where table_name=&#39;&lt;TABLE_NAME&gt;&#39; and owner =&#39;&lt;SCHEMA_NAME&gt;&#39;;</pre><h3>Conclusion</h3><p>Oracle Transparent Data Encryption (TDE) is an important database security feature that helps orgnizations protect sensitive information from unauthorized access by encrypting data at rest. By implementing column-level and tablespace-level encryption, organizations can strengthen database security while maintaining normal application functionality.</p><p>Proper wallet configuration, encryption key management, regular wallet backups, and secure access controls are essential for a successful TDE implementation. In addition, configuring TDE correctly across Oracle RAC and Data Guard environments helps maintain encryption security and database availability.</p><p>By following the practices and implementation steps discussed in this guide, database administrators can establish a secure, reliable, and manageable encrytion environment for protecting critical business data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68e56e9fc623" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>