Go through this list before your HAIMDALL installation goes live, especially if it can be reached from the internet.
Network
HAIMDALL is reached only through an HTTPS reverse proxy, and port 3000 isn't reachable from anywhere else. See HTTPS and Reverse Proxy.
TRUST_PROXY_HOPSmatches the number of proxies in front of HAIMDALL.The public address is set (Customer site › Domain, or
HAIMDALL_PUBLIC_URL), and System › Health shows no warning for it.The database isn't reachable from the network. The Compose file publishes PostgreSQL on
127.0.0.1only; keep it that way. Your own PostgreSQL server should accept connections only from the HAIMDALL server.Optional, and strongly recommended: make the editor (
/editor,/login) reachable only from your organisation's network or VPN, and leave only the public help site open to the internet. Most of HAIMDALL's attack surface is behind the editor's sign-in. The easiest way is a separate editor address: the editor then lives on its own host name, which your proxy or firewall can limit to your network. See Your Help Site's Addresses.
Secrets
SESSION_SECRETis a long random value, unique to this installation, and not stored in source control.The database password is long and random. HAIMDALL refuses to start with a default one;
ALLOW_DEFAULT_DB_PASSWORDis not set.The
.envfile is readable only by the people who run the server.
Accounts
Every person has their own account; nobody shares one.
As few people as possible are admins.
Temporary passwords are handed over privately, and people change them at first sign-in (HAIMDALL makes them).
When someone leaves, an admin disables their account at once (Access › People). That signs them out everywhere straight away.
You know how to recover access if every admin is locked out: the account command on the server (see Installing HAIMDALL, step 5). Only people who can run commands on the server can use it.
What HAIMDALL does for you
You don't need to configure these; they're built in:
Passwords are stored only as strong one-way hashes.
Repeated wrong passwords are slowed down per address and per account, without letting an attacker lock real users out.
Sessions end on sign-out, after a period unused, after 7 days, and whenever a password changes or an account is disabled. Anyone can use Sign out everywhere.
Uploads are limited to safe file types and 25 MB, and uploaded files can't run scripts on your site.
Only admins can change the theme's custom JavaScript, which runs on every public page.
Security headers (content security policy, framing protection, HTTPS-only in production) are sent on every page.
Afterwards
Backups of the database and the data volume run on a schedule and have been test-restored. See Backups.
You have a plan for installing HAIMDALL updates promptly.
You keep the server's operating system, Docker and the reverse proxy up to date.
Connections › API & AI feeds matches how public your content should be: Anyone (like the help site), Only with an API key, or Nobody. See AI Feeds.
Webhooks only call receivers you trust, over
https://; Allow a private network address is ticked only for receivers inside your own network.Sign-in, account and API-key events are sent to your log system or SIEM, where someone watches for repeated failed sign-ins and unexpected admin activity. See Exporting Logs and Events.