Print Page | Close Window

Encrypting the ibconfig

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1088
Printed Date: 19-Apr-2024 at 12:37pm


Topic: Encrypting the ibconfig
Posted By: *Calsy
Subject: Encrypting the ibconfig
Date Posted: 09-Feb-2009 at 10:10pm
Hi All, Just wanting to know if there is anyway we can encrypt the ideablade.ibconfig. We store it loose in the same folder as the application so that it can be changed dynamically by the client to point to a different database.

So we are wanting to somehow encrypt the ibconfig and decrypt it as it is read when creating the persistence manager.

Thanks in advance



Replies:
Posted By: davidklitzke
Date Posted: 10-Feb-2009 at 9:04am
The standard solution for encryption is to use SSL.
 
Another solution is to use a custom DataSourceKeyResolver.  In your DataSourceKeyResolver, you could use any creative and imaginative solution you can think of including encrypting the ibconfig.
 
Is there any reason that either of these two solutions will not work for you?
 


Posted By: *Calsy
Date Posted: 10-Feb-2009 at 1:41pm
Hey David, Looks like the custom datasourcekeyresolver will sort out what i need to do.

Thanks



Print Page | Close Window