Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15436

SQLite database and password protection?

$
0
0
Is is possible to encrypt (password protect) an SQLite database? If so, can someone please point me in the right direction?

I have installed the "System.Data.SQLite.Core" NuGet package and have a working application that uses an SQLite database.

My research has been fruitless. I have seen mentions of "extensions" that can do this, but I am clueless as to how to use one.

The following link looked promising, but I couldn't get it working with my application (SQLiteConnection.SetPassword and SQLiteConnection.ChangePassword methods both raised an error).

https://stackoverflow.com/questions/...is-it-possible

This following link from Microsoft states that "SQLite doesn't support encrypting database files".

https://docs.microsoft.com/en-us/dot...bs=netcore-cli

It would be great to see a tutorial or working example for how to use a password with an SQLite database...:)

Viewing all articles
Browse latest Browse all 15436

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>