ShieldHabits
Language: English

App security, alerts and recovery

Broken access control is still number one in the OWASP Top 10:2025, and logs that nobody is alerted about do little to spot attacks. Good recovery habits then make sure a mistake or a breach can be rolled back quickly.

0 of 6 habits in place

Your progress is saved only in this browser. Nothing is sent to us.

Essential
Do this first. It stops the most common attacks.
Advanced
Extra protection for people facing higher risk.

Check access on the server for every request

Essential

Verify permissions on the server for every endpoint, so that users can only see and change their own records.

Why it matters

Broken access control, such as changing an ID in a URL to see someone else's data, is the most common serious flaw in web applications.

How to do it

  1. Check permissions on the server, never only in the user interface.
  2. Deny access by default and allow only what each role needs.
  3. Test by changing IDs in requests to see whether other users' data appears.
  4. Add automated tests for your access rules.

Set alerts, not just logs

Essential

Get notified about failed admin logins, new admin accounts and unexpected spending.

Why it matters

OWASP renamed its logging category to stress alerting: logs that nobody watches rarely stop an attack.

How to do it

  1. Choose a few critical events to alert on.
  2. Send alerts to an email address or chat where someone will see them.
  3. Test each alert once.
  4. Tune noisy alerts so that real ones are not ignored.

Keep tested off-site backups of files and database

Essential

Keep versioned, encrypted backups of site files and the database away from the server, and test restoring them.

Why it matters

Breaches are often noticed days later. Only versioned, tested backups guarantee that you can return to a clean point from before the attack.

How to do it

  1. Back up files and the database automatically to another location.
  2. Keep several versions, not just the latest copy.
  3. Encrypt the backups and protect access to them.
  4. Regularly test a full restore on a separate server.

Last reviewed November 28, 2026