10

I have created a password protected sqlite database. I want to be able to view the database so that I can check that things are being inserted correctly during the development of my project. I have downloaded the sqlite database browser but this doesn't seem to let you open an encrypted database.

Is there a way that I can open the database file.

Thanks for any help you can provide.

2

2 Answers 2

16

The free SQLite2009 Pro browser will let you open SQLite databases which were encrypted with System.Data.SQLite.

When you open the file you get a warning saying that the file is encrypted or not a database, and are then prompted to select an encryption type, select "RSA".

Edit:

You may find SQLite2009 Pro is not as reliable as sqliteadmin (which does not open databases encrypted with System.Data.SQLite). I just found it crashed upon trying to open a database which had a problem with one of the views.

I ended up removing the encryption, and opening it with sqliteadmin, which did not crash but instead put a little red cross over the view which had a problem. What a nice touch :-)

7
  • 3
    This answer really helped me, it is a shame that the OP didnt accept it Mar 13, 2015 at 14:35
  • 1
    hi, i have downloaded this software but it allows only to open ".db3" file. as my sqlite database is having ".sqlite" extension. any solution?
    – aru
    Apr 18, 2015 at 6:36
  • 4
    That is just an unnecessary restriction in the dialog box, you can use SQLite2009 Pro to open files regardless of their extension. Right-click on your db file in its folder and select "open with..." then select the exe for SQLite2009 Pro, or drag the file onto the exe (assuming you're on Windows), or pass the file path to the exe via the cmd line.
    – andyhasit
    Apr 19, 2015 at 13:24
  • 1
    in the open file dialog,go to the directory that containt the db file,type . in filename text field,then you can see all file in this directory, and then you can select the [NAME].sqlite file
    – jack jin
    Oct 15, 2016 at 7:03
  • 1
    @fedeteka that's a good idea. in my comment, i means type [asterisk].[asterisk] in the filename text filed
    – jack jin
    Jan 16, 2017 at 8:49
8

You can open and create a password protected sqlite database with SQLiteStudio:

see open image

see create image

4
  • 1
    such a nice and decent tool. the best thing is that support different versions of sqlite including microsoft System.Data.sqlite Dec 28, 2018 at 11:51
  • Thanks for mentioning the tool. It was awesome working with it. Jan 22, 2019 at 6:54
  • How to open such password protected file then for reading to connect to a webssite using html php ? thanks Mar 30, 2021 at 13:31
  • 1
    This is working in August 2022 using SQLite Studio, I encrypted my SqLite DB in .NET Core 6 using the following MS Docs --> learn.microsoft.com/en-us/dotnet/standard/data/sqlite/…
    – OJB1
    Aug 13 at 23:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.