SQLite Forum

Disable -wal option
Login
You can build your own custom version of SQLite3 and OMIT all sorts of things including WAL support if you wish.  I have no knowledge as to whether using the OMIT_WAL options is tested and works or not.

See <https://sqlite.org/compile.html>

This will not, however, prevent someone with access to the database file from deleting it, overwriting or otherwise corrupting it, or using their own "program" (for any definition you like of program including but not limited to another copy of SQLite3 or the CLI or even an editor) from accessing and modifying the database file.