2

I am using SQLite database version 3 with C# Windows application.. i want to encrypt the SQLite database using password or any other encryption way in order not to enable clients to open it. and what are the changes should be added to the connection string in the config file.

2
  • set password for your Sql db then remove pass from app.config file and set it problematically in your code Commented Aug 30, 2012 at 6:02
  • possible duplicate of stackoverflow.com/q/1259561/1045728 Commented Aug 30, 2012 at 16:17

1 Answer 1

3
Data Source=filename;Version=3;Password=myPassword;

Source: http://www.connectionstrings.com/sqlite

Sign up to request clarification or add additional context in comments.

1 Comment

how will this help from directly accessing the database?? I mean from the outside by opening it in sqlite studio or sqlite manager?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.