Web security · Operations
A small website security baseline
Security work is most useful when it is practical enough to become routine.
Small sites do not need a security theatre programme. They do need a baseline: a handful of habits that reduce the chance of a simple mistake becoming a difficult incident.
Protect the accounts that matter
Use multi-factor authentication on the domain registrar, DNS provider, source control, hosting and CMS. Those accounts can change where a site points or who can deploy it, so they deserve more attention than a low-risk editorial login.
Treat secrets as short-lived
Keep tokens out of source control, use separate values for local development and production, and rotate a credential if it appears somewhere it should not. Public environment variables are fine when they are designed to be public. Private ones are not.
Keep the path to recovery simple
Know who owns the domain, keep backups of content and configuration, and ensure there is a documented way to roll back a deployment. Security is partly about prevention and partly about shortening the recovery when prevention fails.
The useful standard is not perfection. It is making the safe route the normal route.