A
A
Apostol632020-02-03 13:58:27
SQLite
Apostol63, 2020-02-03 13:58:27

How to set password on sqlite in Laravel?

Good Monday

everyone I'm digging into Google and looking for how I can secure my sqlite database.
I found this solution: (quote from the site)
"you can password protect the sqlite3 DB. For the first time, before doing any operations, set the password as follows.

SQLiteConnection conn = new SQLiteConnection("Data Source=MyDatabase.sqlite;Version=3;");
conn.SetPassword("password");
conn.open();

However, I'm using laravel and there are no options in the database.php file for sqlite to set a password.
I just couldn't find it on google. What to do?
If it is, but I did not find it, then please do not throw stones. Throw a better link)

Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question