Ghost sites attract the same automated traffic as any public website. Bots try common passwords on the staff login, replay stolen credentials, scrape public posts and flood signup forms. Ghost has some protection built in, but how much you need to add yourself depends on whether you self-host or use Ghost(Pro).
This guide covers what to lock down, in order of impact, and which parts are your responsibility.
Know which bots you are dealing with
Different bots need different defences, so it helps to separate them first.
- Brute-force login attempts: a bot guesses many passwords against one account, usually the Ghost Admin login.
- Credential stuffing: a bot tries email and password pairs leaked from other services. It works only when someone reuses a password. OWASP describes credential stuffing in detail.
- Spam submissions: fake member signups, junk comments and abused contact forms.
- Scrapers: crawlers that copy your public posts.
The first two target accounts, so account hygiene is the strongest defence. The last two target public pages, so you manage them rather than eliminate them.
Secure staff accounts first
Ghost Admin is the highest-value target on the site. Anyone who gets into an Owner or Administrator account can change content, themes and integrations.
Start with these habits:
- Give every staff user a long, unique password, ideally from a password manager. A password used on any other service is a credential-stuffing risk.
- Use the lowest role that does the job. Ghost has Owner, Administrator, Editor, Author and Contributor roles, so a writer does not need Administrator access.
- Remove staff users who no longer work on the site, and cancel pending invitations you no longer need.
- Use a real, monitored email address for each staff account. Ghost relies on email for password resets and login verification.
Use Ghost’s staff verification and two-factor options
Ghost can ask staff for a verification code sent by email when they sign in from a device it does not recognise. This means a stolen password alone is not enough to get in. Ghost also offers an option to require two-factor authentication for staff. Settings and defaults differ between Ghost versions, so check your own Ghost Admin settings and the official documentation to see what your install offers.
Two things matter here:
- Verification codes go to the staff member’s inbox, so the email account itself needs a strong password and its own two-step sign-in.
- On a self-hosted install, the codes are sent through your configured mail service. If mail is not set up properly, staff can be locked out or codes may never arrive, so test it before you rely on it.
Rate limiting and brute-force protection
Ghost includes built-in protection that slows repeated failed logins. Self-hosters can review and adjust this in the configuration file. The Ghost configuration documentation lists the available options. If you use Ghost(Pro), Ghost manages this layer for you, and you cannot change server-level settings.
For a self-hosted site, add a second layer in front of Ghost:
- Reverse proxy limits. Ghost-CLI normally sets up Nginx in front of Ghost. You can add request rate limits there for the admin path and the sign-in endpoints so one address cannot hammer them.
- A CDN or web application firewall. Services such as Cloudflare can challenge or block suspicious traffic before it reaches your server. This is optional, depends on your setup, and needs careful rules so it does not block your own staff or legitimate API calls.
- Server-level blocking. Tools that watch logs and temporarily block addresses with repeated failures can help on a VPS you manage yourself.
Test any rule from a normal connection after you add it. A rate limit that is too strict can lock out you and your editors.
Reduce spam signups and form abuse
Ghost has built-in membership signup, and public signup forms attract fake registrations. Ghost does not include a general-purpose contact form, so any form on your site usually comes from a theme, a code injection snippet or a third-party service.
- Use CAPTCHA where you control the form. If you embed a third-party form, enable the spam protection that tool offers, such as a CAPTCHA or an invisible challenge.
- Review the spam options in the configuration. Self-hosters can look at the spam section of the config documentation, which covers rate limits and can include blocking particular email domains.
- Consider whether you need open signups. If you only publish for subscribers you invite, restrict who can sign up in your membership settings rather than defending an open form.
- Moderate comments. If you use comments, keep them on moderation and delete or ban abusive accounts promptly.
Fake signups also hurt your email reputation, because bounces and complaints from junk addresses can damage deliverability. Clean out obviously fake members from the member list from time to time.
Harden the rest of the install
Bots do not only guess passwords. They also look for old software and exposed keys.
- Keep Ghost and Node.js updated if you self-host. Ghost(Pro) is updated for you, but on a self-hosted site both are your job.
- Audit integrations. Custom integrations in Ghost Admin carry Admin API keys. Delete any you no longer use and never put keys in public theme code or a public repository.
- Vet themes and code injection. Only install themes from sources you trust, and review any scripts pasted into code injection.
- Use HTTPS everywhere. Make sure the admin and the public site only load over a valid certificate.
- Restrict server access. On a VPS, use SSH keys, disable password SSH logins and keep the firewall limited to the ports you need.
Handle scrapers realistically
A public Ghost site serves the same content to readers and to scrapers, so you cannot fully hide it. What you can do is limit the damage.
- Rate limit or challenge clearly abusive crawlers at your CDN or proxy.
- Use a robots.txt file to state your crawling preferences. Well-behaved crawlers follow it, but malicious ones ignore it.
- Put content that must stay private behind paid or members-only access rather than relying on obscurity.
- Keep your canonical URLs correct, so copied content is easier to identify as secondary to yours.
A quick checklist
- Give every staff user a unique password and the lowest suitable role.
- Turn on staff verification and any two-factor option your Ghost version provides.
- Remove unused staff accounts and integrations.
- Add rate limiting at your proxy or CDN if you self-host.
- Protect public forms with CAPTCHA and consider restricting signups.
- Update Ghost and Node.js on a regular schedule if you self-host.
- Review the official Ghost documentation after major updates, because options change.
Frequently asked questions
Does Ghost(Pro) protect me from bots automatically?
Ghost manages the servers and updates on Ghost(Pro), which removes most server-level work. You still own your staff accounts, so unique passwords, sensible roles and verification settings remain your responsibility.
Can I change the Ghost admin login URL?
Ghost Admin lives at a fixed path, and there is no built-in setting to rename it. Moving it is not a substitute for strong credentials. If you self-host, you can restrict access to the admin path at the proxy, for example by limiting it to known IP addresses, but test this carefully so you do not lock yourself out.
Is CAPTCHA enough to stop spam signups?
CAPTCHA reduces automated submissions but does not stop all of them. Combine it with rate limiting, moderation and, where it fits, restricted or invite-only signups.