Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6680201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:26:50+00:00 2026-05-26T04:26:50+00:00

I need some help from Oracle/Security experts. I’m going to make functions for encryption/decryption

  • 0

I need some help from Oracle/Security experts.

I’m going to make functions for encryption/decryption in our Oracle DB. I intend to use dbms_crypto with AES256. I understand that I should store the key file in the O/S and read it using utl_file.

Is this a good idea? Are there any problems with this approach? E.g. Can utl_file have problems if the key file is read concurrently by 10 callers of the function? Is anything else recommended instead?

I’m sure that this is a very common thing. Does anyone know where I can find a good sample that does this?

Since this is security-related, I would prefer to follow some standard that others are following.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:26:50+00:00Added an answer on May 26, 2026 at 4:26 am

    If you have Oracle Advanced Security in your Oracle Database Enterprise Edition, you already have transparent data encryption (TDE) of data stored in the database.Take a look:

    http://download.oracle.com/docs/cd/B19306_01/network.102/b14268/asotrans.htm

    You can check out also this link:

    http://www.oracle-base.com/articles/10g/TransparentDataEncryption_10gR2.php

    Summarizing the last page:

    • Setup: Creating a database file and user.

      CONN sys/password AS SYSDBA

      CREATE TABLESPACE tde_test
      DATAFILE ‘/u01/oradata/DB10G/tde_test.dbf’ SIZE 128K
      AUTOEXTEND ON NEXT 64K;

      CREATE USER test IDENTIFIED BY test DEFAULT TABLESPACE tde_test;
      ALTER USER test QUOTA UNLIMITED ON tde_test;
      GRANT CONNECT TO test;
      GRANT CREATE TABLE TO test;

    • Encrypted Data: How to create a encrypted Column.You must create a wallet to hold the encryption key.Add the following entry into the sqlnet.ora file on the server and make sure the specified directory has been created.

      ENCRYPTION_WALLET_LOCATION=
      (SOURCE=(METHOD=FILE)(METHOD_DATA=
      (DIRECTORY=/u01/app/oracle/admin/DB10G/encryption_wallet/)))

    You must create and opne the wallet:

    CONN sys/password AS SYSDBA
    ALTER SYSTEM SET ENCRYPTION KEY AUTHENTICATED BY "myPassword";
    

    Then you can create your tables with the desired columns encrypted or not:

    CREATE TABLE tde_test (
      id    NUMBER(10),
      data  VARCHAR2(50) ENCRYPT
    )
    TABLESPACE tde_test;
    

    I hope this help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded
I need some help from the shell-script gurus out there. I have a .txt
Need some help gathering thoughts on this issue. Our team is moving ahead with
I need some help with vocabulary, I don't use Oracle that often but I
We need to migrate our database from MSSQL to Oracle and we have over
I'm not that smart like some of you geniuses. I need some help from
I need some help from some linux gurus. I am working on a webapp
I have one jQuery code and need some help from u guys to improve
need some help from a regex jedi master: If I have a string of
hi all i need some help from you guys.. well here's the description Guys

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.