Open SQLite 3 database protected by password

Hi!

I’m developing a C++ game with Unreal Engine 5.2.1.

I want to open a database encrypted with a password, but I don’t know how.

This is what I did to open it without a password:


FSQLiteDatabase* CatalogueDb = new FSQLiteDatabase();

if (CatalogueDb->Open(*DbFileFullPath, ESQLiteDatabaseOpenMode::ReadOnly))

How can I do it to open it with a password?

Thanks!

AFAIK engine wrapper for sqlite can’t handle it. You need to use native sqlite3 lib with encryption extension.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.