Aucun message portant le libellé SQLite. Afficher tous les messages
Aucun message portant le libellé SQLite. Afficher tous les messages

mardi 23 juin 2015

Visual Studio SQLite

https://nickcharlton.net/posts/sqlite-with-csharp.html

http://swinbrain.ict.swin.edu.au/wiki/Create_a_SQLite_Database

SQLite Password

http://stackoverflow.com/questions/1381264/password-protect-a-sqlite-db-is-it-possible
 
 
SQLiteConnection conn = new SQLiteConnection("Data Source=MyDatabase.sqlite;Version=3;");
conn.SetPassword("password");
conn.open();
then next time you can access it like
conn = new SQLiteConnection("Data Source=MyDatabase.sqlite;Version=3;Password=password;");
conn.Open();
This wont allow any GUI editor to view Your data.
Later if you wish to change the password, use
conn.ChangePassword("new_password");
To reset or remove password, use
conn.ChangePassword(String.Empty);