Redmine security hardening

Specific hardening tasks for a production Redmine: two-factor authentication, sudo mode, password and session policy, API access, uploads, default accounts, patching and stored secrets.

Enforcing two-factor authentication in Redmine

Rolling out Redmine 2FA: optional, required for administrators or required for everyone, enrolling existing users, backup codes, admins locked out by forgotten passwords, and the effect on API clients.

Redmine sudo mode

What sudo mode protects in Redmine 7.0, where it is on by default: re-authentication before sensitive admin and account actions, interplay with 2FA and LDAP accounts, and settings to review after upgrading.

Redmine password policy and expiration

Setting Redmine password rules that match your security policy: minimum length, required character classes, rejection of name-based passwords, expiry periods, lost password behavior and where LDAP takes over.

Redmine session lifetime and autologin settings

Choosing session maximum lifetime, inactivity timeout and autologin in Redmine: why the docs advise a maximum lifetime with the cookie store, effects on current sessions and the SECRET_KEY_BASE link.

Securing Redmine REST API access

Controlling API access to Redmine: enabling the REST API deliberately, API keys versus basic auth for 2FA users, service accounts, key filtering in logs, OAuth2 apps and the API data leaks fixed in 7.0.x.

Redmine attachment size and file type limits

Limiting what users can upload to Redmine: maximum attachment size, allowed and disallowed extensions, proxy body limits, thumbnail generation risks and storage outside the web root.

Securing the default Redmine admin account

Dealing with Redmine's admin/admin default: renaming or locking the account, separate named administrator accounts, 2FA for administrators and auditing who holds the administrator flag.

Redmine file system permissions

Setting ownership and permissions for a Redmine install: write access only to files, log, tmp and public/assets, removing execute bits, configuration file protection and running as a dedicated user.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.