Security
Accounts, authentication plugins, privileges, network exposure, the server's own accounts and tokens, and the plain fact that Raft DB has no TLS.
- Security overview: The security model of Raft DB in one page: who can connect, how they prove who they are, what they may do, and what is not protected.
- Network exposure: Every port Raft DB opens, who may reach it by default, and how to expose it safely given that nothing is encrypted.
- MySQL and MariaDB accounts: How the SQL front-end finds and checks accounts: bootstrap administrators in the configuration, accounts made by CREATE USER, host matching, ALTER USER, SET PASSWORD, DROP USER and what is refused.
- Authentication plugins: How the handshake and the two password plugins work in raftdb-mysql, why no TLS or RSA exchange is needed, and what the MariaDB dialect changes.
- Privileges: GRANT, REVOKE and SHOW GRANTS: The privilege levels and the privileges Raft DB knows at each, GRANT, REVOKE and SHOW GRANTS as implemented, how statements are checked and which errors come back.
- raftdb-server accounts, roles and tokens: How raftdb-server authenticates and authorises its own clients: the admin account, user lines, roles and database scopes, the shared token, session tokens and what is not built.
- TLS and encryption: Where Raft DB has TLS (the MySQL, MariaDB, SQL Server and PostgreSQL front-ends) and how to turn it on, which links are still in clear text, and what to do about them.
- Hardening checklist: A checklist of concrete steps to reduce the risk of a Raft DB installation, given that it has no TLS and no audit log.