Encriptación DBF

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
mustafa
Posts: 1174
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: Encriptación DBF

Post by mustafa »

Hola Pablo Cesar
" Mustafa, queria preguntarte si habria como utilizar archivo en padron UNICODE ?"

No lo se lo de UNICODE , a lo mejor funciona mejor
Un saludo amigo
Mustafa :P
EduardoLuis
Posts: 684
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: Encriptación DBF

Post by EduardoLuis »

Hi Friends:

Excellent sample Mustafa, really usefull.-
By the way Arroya, IMHO what you want goes on the opposite way of managing data on a table, so having allways cript data on table could be a serious problem no only if you index that table, although when you search.-
What i mean is: if your table is allways crypt for searching a data on it, you must previously crypt word/s to be search; is not impossible to do, but any little error may give you too bad results.-
I think the better solution is frecuently the simplest.-
I keep crypted all table till i need to perform a search, or add or edit any reg.-
The best way is ENCODE function the same recomendation gives you Supid.- Keep in mind that you can perform a password with up to 10 character (numeric / lower and uppercase) so password encryption becomes very strong.- If you use *.MEM files remember to ENCODE them to ensure any data in it.-
A last suggestion, please try to write your message in english, not all members writes or speaks spanish.-
With regards. Eduardo

Excelente trabajo Mustafa, muy util.-
Por cierto Arroya, en mi personal opinion lo que tu quieres hacer se opone a los criterios de manejo de datos en tablas, si siempre mantienes encriptados los datos de la tabla, tendras problemas con la indexación de la misma, como así con la búsqueda de datos.-
Lo que quiero decir: si la tabla está siempre encriptada, para buscar un dato, previamente deberás encriptar las palabras objeto de la busqueda; si bien no es imposible hacerlo, el mínimo error puede arrojar resultados no deseados.-
Creo que la mejor solución es frecuentemente la mas simple.-
Yo encripto todas las tablas hasta el momento en que necesito realizar una busqueda, adición o edición de un registro.
El mejor metodo es la función ENCODE sugerida por Supid.- Ten en cuenta que puedes generar un password con hasta 10 caracteres (numericos, mayúsculas y minúsculas), lo que genera una clave realmente fuerte.- Si utilizas archivos *.MEM, es recomendable para asegurar la integridad de su contenido encriptarlos tambien con la función ENCODE.-
Una ultima sugerencia, trata de escribir un mensaje trata de hacerlo en inglés, ya que no todos los miembros escriben o hablan español.-
Cordialmente.
Eduardo
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Encriptación DBF

Post by tonton2 »

Merci beaucoup Mustafa :D
L'Algerie vous salut
Y.TABET
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Encriptación DBF

Post by Rathinagiri »

If you want to have the whole data encrypted and still used for all data handling purposes, SQLCipher is the best choice.

It is very easy to implement SQLCipher in HMG.

The advantage is, whole database is encrypted and stored in the hard disk. Whenever data is retrieved it is decrypted and stored in RAM. When the data is written back to hard disk it is automatically encrypted with 256 bit DES algorithm.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
serge_girard
Posts: 3336
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Encriptación DBF

Post by serge_girard »

Thanks for sharing Mustafa !

Serge
There's nothing you can do that can't be done...
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Encriptación DBF

Post by tonton2 »

mustafa wrote: Wed Feb 26, 2014 12:24 pm Hola amigos:
Les presento un trabajo para encriptar ficheros DBF,basado en "encryptsqlite.zip"
que publico Rathinagiri :
http://www.hmgforum.com/viewtopic.php?f ... exe#p21952" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
Se puede encriptar y desencriptar un fichero , solo con un maximo de 24 FIELD_NAME,
es el maximo que permite encriptar y he probado una base de datos con unos 100 registros.
Pueden Ver la encriptacion y Descriptacion en View Databases.
Antes de encriptar, se crea un fichero de respaldo con la extension _Back, ejemplo ---> Test_Back
y un fichero de Estructura _Struct , ejemplo ---> Test_Struct
Muy Importante, haga copias de Backup antes de encriptar, si por equivocacion intenta encriptar
un Fichero encriptado, aunque la aplicacion le avisa, no he conseguido que no encripte de Nuevo
y luego es imposible desencriptar dado que se ha encriptado dos Veces
Muy Importante:
Trabajen, con Seguridad, declino toda responsabilidad por el Error o Mala manipulacion del Fichero
que se quiere Encriptar.
En la Carpeta donde se encuentra el Fichero Encriptado, durante la Encriptacion, se crean cuatro
ficheros con extension ".mem", no los Borre ni los traslade de Carpeta, son necesarios para poder
Desencriptar los Ficheros, el programa los Borrara una vez Desencriptado el Fichero.
No Desencripte mas de un Fichero por Carpeta !
Espero que les pueda servir y les guste

Un Saludo
Mustafa

*--------------------------------- Google-----------------------------------------*
Hello friends :
I present a job to encrypt DBF files, based on " encryptsqlite.zip "
I post Rathinagiri :
http://www.hmgforum.com/viewtopic.php?f ... ncrypt.exe" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false; # p21952
It can encrypt and decrypt a file , only a maximum of 24 FIELD_NAME ,
is the maximum that lets you encrypt and have tried a database with about 100 records.
They may encryption and decryption View View in Databases.
Before you encrypt a backup file with the extension _back , example ---> Test_Back is created
Structure and _Struct file , example ---> Test_Struct
Very Important , back backup before encrypting , by mistake if you try to encrypt
an encrypted file, the application warns you though , I have not managed to not encrypt New
and then it is impossible to decrypt since been encrypted twice
Very Important:
Work with Security , decline all responsibility for the Mistake or bad handling of the File
you want to Encrypt .
In the Folder where the File Encryption , during Encryption is create four
files with extension ".mem" , do not Delete Folder or move them , are needed to
Decrypt the files , the program deleted the file once Decryption .
Decrypt No more than one File per Folder !
I hope I can serve them and like

Regards
Mustafa :D
Bonsoir tout le monde ,bonsoir mon ami mustafa: je voudrais l'utilser dans HMG.3.6 ,pourriez vous me mettre un FICHIER.hbp pour l'utliser avec IDE merci d'avance
Good evening everyone, good evening my friend Mustafa: I would like to use it in HMG.3.6, could you put it in .hbp FILE for me to use it with IDE, thank you in advance
L'Algerie vous salut
Y.TABET
franco
Posts: 887
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Encriptación DBF

Post by franco »

Thank you Mustafa. Nice work.
All The Best,
Franco
Canada
Post Reply