ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Use of the DB2 encrypt function in WMQI

Post new topic  Reply to topic
 Use of the DB2 encrypt function in WMQI « View previous topic :: View next topic » 
Author Message
chaman
PostPosted: Mon Jul 14, 2003 10:11 am    Post subject: Use of the DB2 encrypt function in WMQI Reply with quote

Newbie

Joined: 14 Mar 2002
Posts: 7
Location: Montreal, Canada

Hi all,

I have a flow that use the "new" DB2 encrypt function to encrypt part of the incoming message in a table. The problem is that the DB2 encrypt and decrypt_char functions needs a password, that is used as a key to encrypt/decrypt the message and I don't want to put it in clear in the Database node. Any ideas How to get the password from within the Database node besides developing a plugin that would call encrypting/decrypting modules?

Thanks
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Jul 14, 2003 10:41 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I believe another option would be to store your password into DB table and then use it in a DB node when calling encrypt/decrypt functions.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
chaman
PostPosted: Mon Jul 14, 2003 10:53 am    Post subject: Reply with quote

Newbie

Joined: 14 Mar 2002
Posts: 7
Location: Montreal, Canada

The problem is if I want that password to be encrypted as well, same dilemma...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 14, 2003 12:39 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

chaman wrote:
The problem is if I want that password to be encrypted as well, same dilemma...


If you want to store the password encrypted, you will need to then be able to decrypt the password before you pass it in to the encryption routine. So it's a recursive dilemma - because now you have a key or password being used to access your password and obviously this second key or password needs to be secure as well.

You could wrap the encrypt/decrypt access in a stored procedure, and put the password in that stored procedure. Then only the people who can read the stored procedure will know what it is, and this can be secured fairly well. And possibly the DB2 system (I don't know the encryption routines in DB2) will allow you to encrypt the stored procedure except for when it's being run.
Back to top
View user's profile Send private message
chaman
PostPosted: Tue Jul 15, 2003 7:00 am    Post subject: Reply with quote

Newbie

Joined: 14 Mar 2002
Posts: 7
Location: Montreal, Canada

Good idea Jeff, I'll try something along those lines
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Use of the DB2 encrypt function in WMQI
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.