Application security

Step-up auth · Extra checks only when needed

Signing in with MFA establishes a session; it does not guarantee that the same person is still present when an account holder later downloads sensitive documents or changes recovery details. I designed a second check for actions where a compromised session would have greater consequences.

AutoDash bank-account page with account details and update controls.
Bank-account changes are one of the portal actions covered by fresh verification. This capture shows the account page, not the verification dialog.
01

The problem

LeaseTrack already had MFA at sign-in. Requiring the same challenge for every routine interaction would have been disruptive, but trusting a long-lived session for password changes, document downloads and changes to primary contact details would have left higher-consequence operations exposed to an unattended or compromised session.

02

My role

I designed and implemented the step-up flow in the React/Redux client and Node.js server, including its route classification, challenge state, short approval period, and verification of new contact methods before those methods could be trusted.

03

How it worked

Classify protected requests on the server

A central route-and-HTTP-method list identified operations requiring fresh assurance. The interface could open the challenge in advance, but server middleware independently checked a protected request before its business handler ran. A direct API call therefore could not rely on a missing button or a client-side flag to bypass the control.

Hold the action and resume it once

The React client kept the requested action and its form data in central Redux state, opened a consistent six-digit verification flow and retried the action after approval. Routine portal use did not require a repeat challenge, and a successful approval could be reused for protected operations during its five-minute session-bound window.

Keep the proof on the server

After verification, the client received a public approval identifier and expiry. The server session retained a separate secret and derived hash; middleware checked the identifier, session state and expiry before allowing the operation. Missing, expired or mismatched approval data stopped the action and cleared the approval state.

Treat a new contact channel as a separate trust decision

Changing an email address or phone number also required proving control of the proposed new destination. The new contact record was not persisted until the code sent to that destination was verified.

Selected profile or banking action held for a six-digit challenge, followed by server checks before the business handler.
The selected profile and banking flow holds the action during verification. The server checks route coverage, session proof and expiry before the business handler runs.
04

The result

Sensitive operations gained a fresh, server-enforced check while normal use remained uninterrupted. Customers did not need to refill a form after completing the challenge. I validated the intended success and denial paths through structured manual and integration testing.