Ask the Expert

How to scramble salary data?

Are you aware of a way to scramble salary data? Our Prodcution instance has all the appropiate security that we need, as we limit developer and user access. However, with our Development and Test instance clones we would like to be able to give our support staff (technical and functional) wide access; however, our inability to scramble only the salary data prohibits this.

    Requires Free Membership to View

In pre-10g database versions, you can use triggers and DBMS_OBSFUCATION_TOOLKIT to encrypt/decrypt any data you wish. Starting with 10g, you should use DBMS_CRYPTO (which is also easier to spell!) which provides similar functionality. I believe that there are a few good Metalink articles providing some examples of how you could implement such a system. The problem with encryption is that you need to maintain the encryption/decryption keys somewhere safe yet still make them available to the automated processes that need them. So, you may make it more difficult to access the data directly, but it will be near impossible to absolutely secure the data using encryption due to the key storage problem.

This was first published in December 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: