WordPress · Drupal · Site Maintenance · Technical SEO · Editorial Policy

How to Lock Down Ghost Admin Accounts

A Ghost publication is only as safe as the people who can sign in to its admin area. An account with the Administrator or Owner role can change settings, install integrations, edit code injection and manage other staff. Protecting those logins is the highest-value security work you can do on a Ghost site, and it costs very little.

This guide covers the controls Ghost actually gives you. It also flags where the options depend on whether you self-host with Ghost-CLI or use the managed Ghost(Pro) service.

Start with unique passwords and a password manager

Reused passwords are the usual way a staff login gets taken over: a password leaked from another service is tried against your Ghost admin URL. The fix is simple: every staff member gets a long, random password that exists nowhere else.

  • Use a password manager to generate and store each staff password. A long random string beats a clever phrase.
  • Give the Owner account its own password, never shared with any other login.
  • Do not share one login between several people. Shared accounts make it impossible to tell who changed what, and impossible to remove one person’s access cleanly.
  • Protect the email inbox tied to each staff account as strongly as the account itself, because Ghost uses email for password resets and sign-in verification.

Have staff change their password from their own profile in Ghost Admin, not through a message or shared document.

Understand what Ghost offers for second-factor protection

Ghost’s built-in protection for staff sign-in is device verification by email. When a staff member logs in from a device Ghost does not recognise, Ghost sends a verification code to their email address, and the login is not completed until the code is entered. This only works if your site can actually send email, so self-hosters should confirm that mail is configured and that test messages arrive.

Check the current documentation for exactly how your version behaves, because self-hosted sites can change this behaviour in their configuration. Do not turn the verification off to save a few seconds at login.

Be careful about assuming more than this. Do not count on an authenticator-app code or single sign-on for Ghost staff logins unless the Ghost documentation for your version and plan says it exists. If you need those controls today, the practical alternatives sit around Ghost rather than inside it:

  • Put the admin path behind an access layer at your reverse proxy or network edge, such as an IP allowlist or an identity-aware proxy. This is a hosting decision, so it is possible on self-hosted setups and generally not on Ghost(Pro).
  • Secure the email accounts that receive verification codes with their own strong two-step sign-in. This makes the email channel much harder to abuse.

Apply least privilege with Ghost’s staff roles

Ghost has a fixed set of staff roles, from most limited to most powerful: Contributor, Author, Editor, Administrator and Owner. Give each person the lowest role that lets them do their job.

  • Contributor: writes drafts but cannot publish. Suitable for guest writers.
  • Author: creates and publishes their own posts.
  • Editor: manages all posts and can invite and manage authors and contributors.
  • Administrator: full control of settings, integrations, themes and staff.
  • Owner: everything an Administrator can do, plus ownership of the publication and its billing.

Most contributors never need to touch settings, so most of your staff should sit well below Administrator. A freelancer who writes articles does not need the power to upload a theme or edit code injection. Keep the number of Administrators small, and make sure each one has a real reason to hold the role.

The Owner role is special: there is a single Owner, and ownership can be transferred to another Administrator. Treat that as an account to be used rarely, with the strongest password you have.

Review and remove old users on a schedule

Dormant accounts are quiet risks. A former contractor’s login still works until someone turns it off. Put a recurring reminder in your calendar and walk through the staff list in Ghost Admin under Settings.

  1. Open the staff list and compare it with who actually works on the site today.
  2. Lower the role of anyone holding more access than their current work needs.
  3. Suspend accounts that are not in use. Ghost lets you suspend a staff user, which blocks sign-in while keeping their authored posts intact.
  4. Delete accounts only when you are sure you no longer need them, and check how their posts will be handled first.
  5. Look at pending invitations and revoke any that were never accepted.

Do this immediately whenever someone leaves, not at the next scheduled review.

Keep sessions and API tokens under control

Passwords are not the only way into a Ghost site. Integrations and API keys are a second door.

In Ghost Admin, custom integrations produce an Admin API key and a Content API key. The Content API key is meant for reading published content and is designed to be used in public pages. The Admin API key can change content and must be kept secret, so store it in a secrets manager or server environment variable, never in a theme file, a public repository or front-end JavaScript.

Individual staff users can also have their own access token in their profile. Treat it like a password.

  • Create one integration per purpose, with a clear name, so you can tell what each key is for.
  • Delete integrations you no longer use. Deleting one invalidates its keys.
  • Regenerate a key if it may have been copied somewhere it should not be.
  • Review themes and third-party code you install, since they run on your site.
  • Sign out of Ghost Admin on shared or borrowed computers, and do not let browsers on them save the password.

If you self-host, also keep Ghost, Node.js and the server operating system updated, because a login protection does not help against a flaw in outdated software. On Ghost(Pro), Ghost handles platform updates for you, but account hygiene remains your job. The official Ghost documentation covers staff, integrations and self-hosted configuration in detail.

What to do if credentials leak

Act in this order, and do not wait to confirm the damage before starting.

  1. Change the password for the affected account, and for any other account where the same password was used.
  2. Suspend the account if you cannot reach the person, until they can regain control safely.
  3. Secure the email inbox tied to the account, since whoever controls it may receive verification codes and reset links.
  4. Regenerate integration keys that the person had access to, and update the services that use them.
  5. Review the staff list for users or invitations you did not create, and check recent changes to posts, themes, code injection and integrations.
  6. Check the server if you self-host: look at access logs and ask whether any files were changed.
  7. Restore from a clean backup if you find content or code you did not put there.

For general guidance on authentication practice, the OWASP project publishes freely available cheat sheets on passwords and session handling.

Frequently asked questions

Does Ghost support two-factor authentication for staff?

Ghost verifies new devices by sending a code to the staff member’s email address. Whether other methods, such as authenticator apps or single sign-on, are available depends on your version and plan, so confirm it in the current Ghost documentation before relying on it.

How many Administrators should a Ghost site have?

As few as possible. One Owner plus a small number of Administrators who truly manage settings and integrations is enough for most publications. Everyone else can work as an Editor, Author or Contributor.

Is the Ghost Content API key a secret?

No, it is designed to read public content and can appear in front-end code. The Admin API key is different: it can modify your site, so keep it private and regenerate it if it is ever exposed.

We use essential cookies to make this site work and remember your preferences. We do not use advertising or analytics cookies. Privacy Policy. Cookie Policy.