Skip to main content

Padding Tutorials

Security and hardening

Lock down servers, services and applications against the attacks that actually happen.

3 tutorials

All in this category

  • How to Set Up a UFW Firewall on Ubuntu 26.04

    You will turn on UFW with a deny-by-default policy, allow SSH before you enable it so you stay connected, open only the web ports your server needs, and learn to list, remove and limit rules.

    Beginner · 11 min · Security and hardening

  • How to Keep Passwords and API Keys Out of Git

    You will keep secrets in a git-ignored .env file, commit a safe template instead, stop a commit that contains a key with a pre-commit hook, and learn what to do when a secret has already been committed.

    Beginner · 12 min · Security and hardening

  • How to Turn On Automatic Security Updates on Ubuntu 26.04

    You will check that unattended-upgrades installs security fixes by itself on Ubuntu 26.04, tune it to reboot at a quiet hour when a kernel update needs it, and read its logs to confirm it works.

    Beginner · 9 min · Security and hardening