Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Help: A difficult request
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
joe bayer nospam  
View profile  
 More options Oct 14 2005, 6:41 am
Newsgroups: comp.databases.oracle.server
From: "joe bayer" <joebayerii(nospam)@hotmail.com>
Date: Fri, 14 Oct 2005 10:41:41 GMT
Local: Fri, Oct 14 2005 6:41 am
Subject: Help: A difficult request
We are using Oracle 9206 in windows.

My manager wants me to encrypt credit card number in our database, that is
not a problem, so I created two functions, encrpt_card_no and
deencrypt_card_no, and encrypted data.

The problem is, our vendor software will issue command
select card_no ..... from ....
Ask them to change the source code is very expensive.

Could we write a "select" trigger, using query-rewrite or something, which
is doing this

if (program='vendor program')
change
"select card_no"
to
"select deencrypt_card_no(card_no,key)"
end if;

so that we can avoid a huge bill from the vendor.

Is this feasible in oracle?

Thanks very much for your help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sybrandb@yahoo.com  
View profile  
 More options Oct 14 2005, 8:09 am
Newsgroups: comp.databases.oracle.server
From: "sybra...@yahoo.com" <sybra...@yahoo.com>
Date: 14 Oct 2005 05:09:13 -0700
Local: Fri, Oct 14 2005 8:09 am
Subject: Re: Help: A difficult request
consider renaming the original table and implementing a view, using the
original table name, and you have exactly what you want. No
query_rewrite necessary (and I don't think query_rewrite applies, as
this was one of the reasons to implement views).
If the vendor acts like most vendors do, he won't support your firm
anymore after you have implemented this.
I'm not sure why people can't think of the need to store creditcard
numbers encrypted beforehand, and buy a sw package in which this is not
possible.

--
Sybrand Bakker
Senior Oracle DBA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »