Security¶
CannonCommander can read, change and delete everything you map into it, so it deserves the same care as the Unraid web interface.
The short checklist¶
- Set a password right after the install.
- Turn on two-factor authentication for admins.
- Reach it from outside only through a reverse proxy with https, or through a VPN.
- Give people the role and area they need, not more.
- Leave the terminal and Unraid write access off unless you need them.
How it protects you¶
- Sign-in. Without a password CannonCommander opens for everyone who reaches it. Once an account has a password, every visitor signs in. Wrong passwords slow down each name and lock out an address for 15 minutes, see Wrong passwords.
- The data folder is locked. The database and
config.yamlin/configcannot be opened through the file manager, not even by an admin, even when/configlies inside a share you mapped. - Users and rules. Admins see everything. Everyone else stays inside an area of their own, and access rules hide a folder or make it read only. The rules apply to the interface, WebDAV, share links and API tokens alike, and disk shares are for admins only.
- API tokens can be read only. New tokens, passkeys and sign-in services need a sign-in from the last few minutes or your password again. An admin can see and revoke the sessions, tokens and passkeys of every user, and block an account.
- Unraid write access is off until you switch it on, because the emhttpd socket controls the whole array.
- The Docker socket is not mapped until you map it, because it controls every container. With it, admins can clear away what nothing uses into the storeroom and connect the office servers found next to CannonCommander. An office server's JWT secret is only copied when an admin clicks Connect.
- The terminal is off until you switch it on, because it hands admins a shell with the rights of CannonCommander's user.
- MCP keys read until you allow writing, which asks for your password again. The server keeps only a fingerprint of each key, and an admin can take writing away or revoke any key.
Report a security problem¶
Please report it privately through GitHub's security advisories rather than in a public issue. I will get back to you as soon as I can.