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 8858835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:55:06+00:00 2026-06-14T14:55:06+00:00

I have tagged this problem with both Oracle and Java because both Oracle and

  • 0

I have tagged this problem with both Oracle and Java because both Oracle and Java solutions would be accepted for this problem.

I am new to Oracle security and have been presented with the below problem to solve. I have done some research on the internet but I have had no luck so far. At first, I thought Oracle TDE might be helpful for my problem but here: Can Oracle TDE protect data from the DBA? it seems TDE doesn’t protect data against DBA and this is an issue which is not to be tolerated.

Here is the problem:

I have a table containing millions of records. I have a Java application which queries this table using equality or range criteria against a column in the table which is the primary key column of the table. The primary key column contains sensitive data and thus has been encrypted already. As the result, querying data using normal (i.e. decrypted) values from the application cannot use the primary key’s unique index access path. I need to improve the queries’ performance without any changes on the application code (application config can be modified if necessary but not the code). It would be OK to do any changes that are necessary on the database side as long as that column remains encrypted.

Oracle people please: What solution(s) do you suggest to this problem? How can I create an index on decrypted column values and somehow force Oracle to utilize this index? How can I use partitioning such as hash-partitioning? How about views? Any, Any solution?

Java people please: I myself have this very vague idea which is to create a separate application in between (i.e between the database and the application) which acts as a proxy that receives the queries from the application and replaces the decrypted values with encrypted values and sends it for the database, it then receives the response and return the results back to the application. The proxy should behave like a database so that it should be possible for the application to connect to it by changing the connection string in the configuration file only. Would this work? How?

Thanks for all your help in advance!

  • 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-06-14T14:55:07+00:00Added an answer on June 14, 2026 at 2:55 pm

    which queries this table using equality or range criteria against a column in the table which is the primary key column of the table

    To find a specific value it’s simple enough – you can store the data encrypted any way you like – even as a hash and still retrieve a specific value using an index. But as per my comment elsewhere, you can’t do range queries without either:

    • decrypting each and every row in the table

    or

    • using an algorithm that can be cracked in a few seconds.

    Using a linked list (or a related table) to define order instead of an algorithm with intrinsic ordering would force a brute force check on a much larger set of values – but it’s nowhere near as secure as a properly encrypted value.

    It doesn’t matter if you use Oracle, Java or pencil and paper. Might be possible using quantum computing – but if you can’t afford to ensure the security of your application / pay for good advice from an expert cryptographer, then you certainly won’t be able to afford that.

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

Sidebar

Related Questions

I tagged this question both Java and Scala because while I mainly develop on
This post is incorrectly tagged 'send' since I cannot create new tags. I have
( I tagged this as both C# and Java, since it's the same question
I have this piece of php - mysql code: When a user tagged in
I need to only get tumblr posts which have been tagged with 'diary' Here
Late Edit I tagged this as a C# question as well as C++ because
I have this wierd problem with my table i Have about 20 cells to
First let me say that I have been working on this issue for about
I'm a beginner with HTML-CSS-JS and I have this problem : When I'm at
While this question is tagged EventMachine, generic BSD-socket solutions in any language are much

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.