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 likeconn = 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);
Aucun commentaire:
Publier un commentaire