FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Quickest way to enable data encryption
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Quickest way to enable data encryption
Posted: Fri Sep 08, 2006 02:46 AM

Hi guys,

If I want to modify existing source code to enable encryption of data in dbf's what's the quickest (ok, ok and also free :wink:; if possible ) route that I could take?

What options do I have for having the feature in a 16 bit programs? In 32 bit programs?

TIA for sharing your experience and expertise

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Quickest way to enable data encryption
Posted: Fri Sep 08, 2006 06:16 AM

Hua,

You may use FWH Encrypt() and Decrypt() functions, to encrypt each field content before saving it, then use Decrypt() to read the encrypted field data.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 840
Joined: Thu Oct 13, 2005 07:05 PM
Quickest way to enable data encryption
Posted: Fri Sep 08, 2006 10:26 PM

FiveWin's Encrypt and Decrypt functions are fine if you are only going to encrypt character fields (they don't support encrypting of date, numeric, or logical fields).

If you want a good encrypting free tool take a look to the Advantage Local Server functions ADSEnableEncrypt()

Saludos

R.F.
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Quickest way to enable data encryption
Posted: Mon Sep 11, 2006 01:27 AM
Antonio Linares wrote:
You may use FWH Encrypt() and Decrypt() functions, to encrypt each field content before saving it, then use Decrypt() to read the encrypted field data.


I'm aware of these functions. I was just hoping there maybe something along the line of use <cDbf> encrypt "password". That would cut down a lot of work as I'm working with an existing source. Thaks for the reply anyway. BTW, thanks also for reactivating my forum account Antonio.

RF wrote:
If you want a good encrypting free tool take a look to the Advantage Local Server functions ADSEnableEncrypt()


Thanks for the pointer Rene :-)
FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Quickest way to enable data encryption
Posted: Mon Sep 11, 2006 05:54 AM

Hua,

You are welcome,

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion