Skip to content
Security

Website Security Basics for Small Businesses

Practical steps to protect your website without a dedicated security team.

4 min read ueb.al

You don’t need to be a Fortune 500 company to be a target. Small business websites are attacked precisely because they’re often unprotected. Here’s what you need to know and what you can do today.

Why Small Businesses Get Hacked

The uncomfortable truth: most attacks aren’t personal. Bots scan millions of websites looking for common vulnerabilities. If your site has one, it gets exploited automatically.

Common reasons small business sites get compromised:

  • Outdated CMS or plugins — WordPress plugins with known vulnerabilities
  • Weak passwords — “admin/admin123” is still disturbingly common
  • No HTTPS — Data transmitted in plain text
  • Shared hosting vulnerabilities — One compromised site affects neighbors
  • No backups — Making ransomware attacks devastating

The Essentials Checklist

1. HTTPS Everywhere

If your site doesn’t have the padlock icon, fix this first. HTTPS encrypts data between your visitor’s browser and your server.

  • Most hosts offer free SSL via Let’s Encrypt
  • Search engines penalize non-HTTPS sites
  • Browsers now warn visitors about “Not Secure” sites

Cost: Free. Time: 30 minutes.

2. Keep Everything Updated

If you’re running WordPress or any CMS:

  • Update the core software as soon as patches release
  • Update all plugins and themes
  • Remove plugins you’re not using
  • Use plugins from reputable developers only

Automated updates are available for WordPress — enable them.

3. Strong Authentication

At minimum:

  • Unique passwords for every account (use a password manager)
  • Two-factor authentication on your CMS admin panel
  • Limit login attempts to prevent brute force attacks
  • Change default admin usernames — don’t use “admin”

4. Regular Backups

Follow the 3-2-1 rule:

  • 3 copies of your data
  • 2 different storage types
  • 1 offsite (cloud backup)

Test your backups. A backup you can’t restore is not a backup.

5. Web Application Firewall (WAF)

Services like Cloudflare offer a free tier that blocks common attacks:

  • SQL injection attempts
  • Cross-site scripting (XSS)
  • DDoS protection
  • Bot filtering

Cost: Free tier available. Time: 1 hour to set up.

The Static Site Advantage

This is where our approach with Hugo and static sites really shines. A static site has:

VulnerabilityWordPressStatic Site
SQL injectionPossibleImpossible (no database)
Plugin exploitsCommonN/A (no plugins)
Brute force loginPossibleImpossible (no login)
Server-side code injectionPossibleImpossible (no server code)
Zero-day PHP exploitsPossibleImpossible (no PHP)

The most secure website is one with the smallest attack surface. Static sites eliminate entire categories of vulnerabilities by not having the components that get exploited.

What to Do If You’ve Been Hacked

  1. Don’t panic — but act quickly
  2. Take the site offline — prevent further damage
  3. Contact your host — they may have backups and logs
  4. Identify the breach — check access logs, modified files, new admin accounts
  5. Restore from a clean backup — don’t just patch the current site
  6. Change all passwords — every account, every service
  7. Update everything — close the vulnerability that was exploited
  8. Monitor — watch for signs of re-compromise

Security Headers You Should Set

These HTTP headers add extra protection layers:

Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()

If you’re on Cloudflare or Netlify, these can be set in configuration files without touching server config.

Monthly Security Routine

Spend 30 minutes per month:

  1. Check for CMS/plugin updates and apply them
  2. Review admin accounts — remove any you don’t recognize
  3. Check Google Search Console for security warnings
  4. Verify your backups are running and restorable
  5. Review your site for unexpected content or redirects

When to Call a Professional

If you notice:

  • Unexpected redirects to other websites
  • New pages or content you didn’t create
  • Google showing “This site may be hacked” warnings
  • Significant drop in search rankings overnight
  • Customers reporting spam from your domain

These are signs of compromise that need professional attention.

Next Steps

Your website is your digital storefront. Protecting it doesn’t require a big budget — just consistent attention.