Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,113 of 9,113 pages
About the help in other languages
All help pages

Spam and security basics

The security and anti-spam basics one person can keep up on an Exponential site - the administrator account, passwords and two-step sign-in, form tokens and CAPTCHA for forms, comments and registration, what anonymous…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/individuals/running-it/spam-and-security-basics.md

On this page

Spam and security basics

This page is for individuals who run a site alone and want the basics right without becoming security experts. Most attacks on small sites are automated: bots that try common passwords, fill in forms and register fake accounts. The defenses below stop most of them.

Contents

  1. Your administrator account
  2. What visitors may create
  3. Forms, comments and registration
  4. Updates
  5. Watching the site
  6. Hardening, briefly
  7. When something looks wrong
  8. Checklist

Your administrator account

What visitors may create

Every form a visitor can submit is a way in for spam. Check Users > Roles > Anonymous: on the default site package anonymous visitors may create Comment and Review objects in the Standard section (sevenx-multi-site-installer.php). Remove what you do not use (Visitor permissions, Comments on your blog).

Forms, comments and registration

LayerShips asWhat it stops
Form tokensezformtoken, in the default installationForged posts sent from other sites
CAPTCHA fieldrecaptcha or hcaptcha datatype on the class; keys from the serviceMost automated form spam
Signed-in onlyRolesAnonymous bots
Approval workflowWorkflowsAnything appearing before you look
Activation by mailVerifyUserType=emailFake registrations with made-up addresses

Use CAPTCHA on public forms, comments and registration (Spam protection for forms, hcaptcha, recaptcha). A CAPTCHA sends visitors' browsers to the service; mention it in your privacy text.

Updates

Most break-ins use holes that were already fixed. Apply security releases within days (Updates for one person), and keep PHP and, on your own server, the operating system current.

Watching the site

Look atHow oftenWhere
New user accountsWeeklyUsers; remove ones you do not recognize
New comments and form submissionsWeeklyThe posts; collected information
ErrorsMonthly, or when something is oddThe log viewers (Logs for owners)
Who signed inWhen in doubtThe audit trail (Security and audit)

Hardening, briefly

The installation book has a chapter on security hardening (Security hardening, Chapter 13). For one person, the essentials are: the administration on its own address, file permissions as the book describes, settings files not readable from the web, and debug output off on the live site.

When something looks wrong

  1. Switch on maintenance mode if content was changed by someone else (Maintenance mode).
  2. Change your password and check the administrator accounts.
  3. Look at the audit trail and logs for what happened and when.
  4. Restore from a backup taken before the problem if needed (Backups for one person).
  5. If you found a security problem in Exponential itself, report it privately, not in a public issue (Private security reports).

Checklist

  • To do: Default password changed; two-step sign-in on.
  • To do: Anonymous role only creates what you want.
  • To do: Form tokens on; CAPTCHA on public forms, comments and registration.
  • To do: Security updates applied promptly.
  • To do: Weekly look at new accounts and comments.
  • To do: Debug output off on the live site.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x