SQLite Forum

sqlite user authentication in c++ project
Login
> My understanding is that API is just a convenience implementation of app-level users, 

That's incorrect. The API can apparently stop a user from writing to the db. My *assumption* about why it doesn't work for you is because you re-open the db with another connection (don't do th-the db is already opened). According to the docs, you have to call the authentication API after opening it. That said, i am unfamiliar with that API and am guessing based on a cursory glance at the docs.