Page 3 of 3

Re: Encriptación DBF

Posted: Fri Mar 27, 2015 10:16 pm
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

Re: Encriptación DBF

Posted: Fri Mar 27, 2015 10:22 pm
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

Re: Encriptación DBF

Posted: Sat Mar 28, 2015 9:33 pm
by tonton2
Merci beaucoup Mustafa :D

Re: Encriptación DBF

Posted: Sun Mar 29, 2015 2:44 pm
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.

Re: Encriptación DBF

Posted: Mon Mar 30, 2015 11:00 am
by serge_girard
Thanks for sharing Mustafa !

Serge