username & password in sqlite3

后端 未结 4 605
再見小時候
再見小時候 2021-01-01 11:17

I am using sqlite3 in a linux machine and I am getting the database without username and password. Can I set a username and password for the same?

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-01 12:19

    SQLite is mainly an embedded database engine, not intended to be used as a multi-user database server that would require usernames and passwords.

    You can always encrypt the database file with some user-provided password/-phrase, I guess. But expecting an embedded DBMS to sport full-blown access control is too much.

提交回复
热议问题