Sqlite encrypted database
Posted: Fri Jun 10, 2016 1:48 pm
Hola amigos:
Les dejo una nueva entrega
Experimentando con Database Sqlite:
Novedades:
La Database está en Boton Empleados
en Password podemos ver Username y Password
la primera entrada del Password es "ADMIN" y
"ADMIN" si se olvidan borren el fichero
"xControl.mem" y se genera uno nuevo Fichero
"xControl.mem" y podran entrar de nuevo.
En Altas de la Base de Datos y Cambios se ha incorporado
un Nuevo Boton que nos permite elegir la foto de la Nueva
Ficha o hacer un cambio tambien si sabemos en nº de Foto
se puede hacer manualmente desde nº de Photo.
Podemos hacer busqueda por Código o por Nombre o mediante
Sort By dejar la Base de datos organizada por Código o por
Nombre. esto es interesante si queremos sacar un listado
de la Base de datos que podemos hacer de dos formas.
Printer o File Pdf.
La Primera saca un listado ordenado por campo elejido
y la segunda opción genera automatico un fichero Pdf
que se deposita en Carpeta -> Listado_Pdf
Cuando cerramos la aplicación se encripta la Base de Datos
creandose el Fichero->nombre1.sqlite.
No puedo conseguir el borrado total del Original ->nombre.sqlite
una vez cerrada la aplicación para que no pueda copiarse.
He provado diferentes metodos, que basandome en las enseñanzas del
Maestro Rathinagiri en los Pos publicados.
https://groups.google.com/forum/#!topic ... lnX98avwbA
viewtopic.php?f=5&t=2269
He encontrado una solución que no es muy academíca pero parece
que parcialmente cumple mi objetivo que es impedir que se vea el
contenido del Fichero "nombre.sqlite".
La solución es aplicar la sentencia -> sqlite3_exec(dbo,"VACUUM")
que deja toda la base de datos vacia de contenido.
Espero que el sample les pueda interesar y si algun compañero puede
indicarme como poder cerrar la base de datos y luego hacer
Ferase( "nombre.sqlite" )
Con -> hb_gcall( .T. ) no consigo que se borre la base dedatos.
Siguel el hilo abierto sin solución
viewtopic.php?f=5&t=2269&start=20
Saludos.
Mustafa
*-----------------------------------Google ------------------------------------*
Hello friends:
I leave a new delivery
Experimenting with Sqlite Database:
What's New:
The Database is in Button Employees
we can see in Password Username and Password
the first entry of the Password is "ADMIN" and
"ADMIN" if they forget to delete the file
"XControl.mem" and generates a new file
"XControl.mem" and be able to enter again.
In High of Database and Change has been incorporated
A new button that lets you choose the photo of the New
Record or make a change too if we know number Photo
It can be done manually from number Photo.
We can search for Code or by Name or by
Sort By leaving Database organized by Code or
Name. this is interesting if we make a list
the database we can do in two ways.
Pdf Printer or File.
First pulls out a list sorted by field Elected
and the second automatic option generates a PDF file
deposited on Folder -> Listado_Pdf
When we close the application encrypts the Database
creating the File-> nombre1.sqlite.
I can not get reset the Original -> nombre.sqlite
once the application so that it can not be copied closed.
I have proven different methods, based on the teachings of
Master Rathinagiri published in Pos.
https://groups.google.com/forum/#!topic ... lnX98avwbA
viewtopic.php?f=5&t=2269
I have found a solution that is not very academic but it seems
partially fulfilled my goal which is to prevent you see the
File content "nombre.sqlite".
The solution is to implement the judgment -> sqlite3_exec(dbo,"VACUUM")
I hope that the sample may be interested and if any partner can
show me how to close the database and then make
FERASE ( "nombre.sqlite")
With -> hb_gcall (.T.) I can not get the base dedatos deleted.
Follow the thread open unsolvable
viewtopic.php?f=5&t=2269&start=20
Greetings.
Mustafa
Les dejo una nueva entrega
Experimentando con Database Sqlite:
Novedades:
La Database está en Boton Empleados
en Password podemos ver Username y Password
la primera entrada del Password es "ADMIN" y
"ADMIN" si se olvidan borren el fichero
"xControl.mem" y se genera uno nuevo Fichero
"xControl.mem" y podran entrar de nuevo.
En Altas de la Base de Datos y Cambios se ha incorporado
un Nuevo Boton que nos permite elegir la foto de la Nueva
Ficha o hacer un cambio tambien si sabemos en nº de Foto
se puede hacer manualmente desde nº de Photo.
Podemos hacer busqueda por Código o por Nombre o mediante
Sort By dejar la Base de datos organizada por Código o por
Nombre. esto es interesante si queremos sacar un listado
de la Base de datos que podemos hacer de dos formas.
Printer o File Pdf.
La Primera saca un listado ordenado por campo elejido
y la segunda opción genera automatico un fichero Pdf
que se deposita en Carpeta -> Listado_Pdf
Cuando cerramos la aplicación se encripta la Base de Datos
creandose el Fichero->nombre1.sqlite.
No puedo conseguir el borrado total del Original ->nombre.sqlite
una vez cerrada la aplicación para que no pueda copiarse.
He provado diferentes metodos, que basandome en las enseñanzas del
Maestro Rathinagiri en los Pos publicados.
https://groups.google.com/forum/#!topic ... lnX98avwbA
viewtopic.php?f=5&t=2269
He encontrado una solución que no es muy academíca pero parece
que parcialmente cumple mi objetivo que es impedir que se vea el
contenido del Fichero "nombre.sqlite".
La solución es aplicar la sentencia -> sqlite3_exec(dbo,"VACUUM")
que deja toda la base de datos vacia de contenido.
Espero que el sample les pueda interesar y si algun compañero puede
indicarme como poder cerrar la base de datos y luego hacer
Ferase( "nombre.sqlite" )
Con -> hb_gcall( .T. ) no consigo que se borre la base dedatos.
Siguel el hilo abierto sin solución
viewtopic.php?f=5&t=2269&start=20
Saludos.
Mustafa
*-----------------------------------Google ------------------------------------*
Hello friends:
I leave a new delivery
Experimenting with Sqlite Database:
What's New:
The Database is in Button Employees
we can see in Password Username and Password
the first entry of the Password is "ADMIN" and
"ADMIN" if they forget to delete the file
"XControl.mem" and generates a new file
"XControl.mem" and be able to enter again.
In High of Database and Change has been incorporated
A new button that lets you choose the photo of the New
Record or make a change too if we know number Photo
It can be done manually from number Photo.
We can search for Code or by Name or by
Sort By leaving Database organized by Code or
Name. this is interesting if we make a list
the database we can do in two ways.
Pdf Printer or File.
First pulls out a list sorted by field Elected
and the second automatic option generates a PDF file
deposited on Folder -> Listado_Pdf
When we close the application encrypts the Database
creating the File-> nombre1.sqlite.
I can not get reset the Original -> nombre.sqlite
once the application so that it can not be copied closed.
I have proven different methods, based on the teachings of
Master Rathinagiri published in Pos.
https://groups.google.com/forum/#!topic ... lnX98avwbA
viewtopic.php?f=5&t=2269
I have found a solution that is not very academic but it seems
partially fulfilled my goal which is to prevent you see the
File content "nombre.sqlite".
The solution is to implement the judgment -> sqlite3_exec(dbo,"VACUUM")
I hope that the sample may be interested and if any partner can
show me how to close the database and then make
FERASE ( "nombre.sqlite")
With -> hb_gcall (.T.) I can not get the base dedatos deleted.
Follow the thread open unsolvable
viewtopic.php?f=5&t=2269&start=20
Greetings.
Mustafa