Antonio:
I want to follow your advice to move from xHarbour to Harbour but Harbour does not support the RDD SIX driver. This RDD allows for transparent record and table encryption. Any suggestions ? Thank you.
Antonio:
I want to follow your advice to move from xHarbour to Harbour but Harbour does not support the RDD SIX driver. This RDD allows for transparent record and table encryption. Any suggestions ? Thank you.
Gustavo,
If there is no source code for the Six RDD, then I would advice not to use it, to avoid future problems.
What Six functionality do you use that DBFCDX RDD does not support ?
If you just need the encryption, you could encrypt the data before saving it and later decrypt it when you read it,
Antonio:
I use it for the encryption. If I am to encrypt the data myself, instead of being done automatically by the driver, I have to change all numeric, date and logical fields to character types so I can store the encrypted values. This will add a lot of overhead to the app and also will make reporting lot much harder to implement. The SIX libraries in xHarbour are: SDE61.DLL & SDECDX61.DLL
For those of us that develop software for health related business encryption is a must due to HIPAA regulations (patient confidentiality).
Maybe it can be incorporated in a future FW release.
Thank you.
Gustavo,
How do you tell Six to activate the encryption ?
Is it a function call ? What syntax ? thanks
USE myfile SHARED new PASSWORD "MyPassword"repl firma with 'Mijn Firma"repl firma with sx_encrypt("Mijn Firma","MyPassword")When I was adding support for SIX3 encryption to [x]Harbour i blocked
it for tables with memos. I made it intentionally when I found few
serious bugs in SIX3 implementation when tables with memos are encrypted.
I didn't want to replicate them and make [x]Harbour RDDs bug compatible
with SIX3 because SIX3 is corrupting data in some cases.
I left them to the moment when I'll find some spare time to precisely
document SIX3 bugs and differences in new implementation.
Meanwhile I decided to block support for SIX3 encrypted tables with
memos to not have backward compatibility problems with data created
by [x]Harbour RDDs before I'll introduce workarounds for SIX3 bugs.
USE filename VIA SIX
Sx_SetPass("mypassword") Â Â // this sets the password for the current workarea, can be used to change the default password for a DBFREPLACE Field1 WITH cChar, Field2 WITH dDate, etc.I answered your post on sub-grouping in reports.
Mr Antonio is actively attending to the other post.
There is also the possibility of subclassing TDatabase to provide automatic encryption/decryption. All we need to do is modify the Load() and Save() methods to do the encryption and decryption. If your program is already using TDatabase, the new class would just be a plugin replacement. Otherwise you would need to convert to using database object syntax, but this could allow you to eliminate lots of code.
As for this requiring more overhead than the SIX driver, I don't think it would. The encryption/decryption is just being done in a different section of code.
Encryption is something all of us need to be thinking about.
Regards,
James
Gustavo,
What I meant is that as far as I know, you can encrypt/decrypt with any RDD using the syntax, as Harbour seems to support it:
USE "name" VIA "whatever" PASSWORD "mypass"
I have not tested it myself, but thats what I seemed to me
Antonio:
Does the DBUSEAREA() function supports a password parameter ? I use this function to open files instead of the USE command.
Thank you.
HunterEC wrote:Antonio:
Does the DBUSEAREA() function supports a password parameter ? I use this function to open files instead of the USE command.
Thank you.