Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread EncryptionPassword, 2.03 build 8, D7
Wed, Mar 3 2010 4:33 AMPermanent Link

Peter

Hello

I have an app that creates my entire database from scratch, then either imports or migrates data. In the data migration app that creates the database. the EncryptionPassword := elevatesoft2, and my main app has the same setting.

The main app operates normally, using the database created by the migration app, but EDB Manager won't play the game.

How can I pass the EncryptionPassword value to EDB Manager? When I try to connect to a session (usually the Default setting) the error msg says that the encryption password does not match the default or current encryption password.

I thought that by creating the EDBConfig.EDBCfg using an Engine component where EncryptionPassword := elevatesoft2, then EDB Mgr would take that information from the config file. I definitely deleted the config files before I migrated the database.

Regards

Peter
Wed, Mar 3 2010 5:10 AMPermanent Link

Uli Becker

Peter,

> How can I pass the EncryptionPassword value to EDB Manager?

EDB Manager stores the password in his ini-file.
You'll find it in: D:\Users\MyUser\AppData\Local\Elevate
Software\ElevateDB Manager or the corresponding folder under XP.

That's how I do it:

1. Create a new session in EDBManager called "Encrypted" e.g.
2. Do *not* open the session, otherwise the default password is stored.
3. Close EDBManager and edit edbmgr.ini
4. Look for [Session_Encrypted]
5. Set you Local Encryption Password etc. like this:

[Session_Encrypted]
Name=Encrypted
....
Local Encryption Password=MyPassword
....
Remote Encryption Password=MyPassword
....

6. Open EDBManager and the new session.

Then you should be done.

Uli
Wed, Mar 3 2010 4:55 PMPermanent Link

Peter

Uli

Is there any way to secure the password? I can obfuscate the password in the compiled application, but if it is in plain text in the EDBMgr.INI file then that would defeat the purpose.

Regards

Peter
Thu, Mar 4 2010 2:49 AMPermanent Link

Uli Becker

Peter,

> Is there any way to secure the password? I can obfuscate the password in the compiled application, but if it is in plain text in the EDBMgr.INI file then that would defeat the purpose.

Without writing your own code: no.
But this was discussed several times here, e.g. http://tinyurl.com/ydn9hs2

Search for "encryption" in the newsgroups.

Uli
Thu, Mar 4 2010 5:33 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Peter


>Is there any way to secure the password? I can obfuscate the password in the compiled application, but if it is in plain text in the EDBMgr.INI file then that would defeat the purpose.

Only if you distribute EDBManager.

Roy Lambert [Team Elevate]
Thu, Mar 4 2010 7:24 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Peter,

<< Is there any way to secure the password? I can obfuscate the password in
the compiled application, but if it is in plain text in the EDBMgr.INI file
then that would defeat the purpose. >>

We provide the source code to the EDB Manager, so if you want to implement
your own encrypted storage of the password, you can do so.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image