Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How Banks Verify Your Identity at Login: JWT, Device Fingerprinting, and 2FA

When you log into your bank account, a lot happens in the background before you see the dashboard. Modern banks like Chase don't just check your username and password — they run a layered security pipeline. Here's how it works technically. Step 1: Credential Verification Your username and password are hashed (bcrypt or Argon2) on the server side and compared against the stored hash. Banks never…

When you attempt to access your banking account online, several security measures are triggered before you reach the main dashboard. Top banks, like JPMorgan Chase, employ a multi-layered verification process, rather than simply relying on a username and password.

Step one involves checking the credentials entered by the user. The server hashes the provided username and password using secure algorithms such as bcrypt or Argon2 and compares these hashed values with the stored hashes. Critical to understand is that banks never store user passwords in plaintext, which significantly bolsters security.

Next up is device fingerprinting. Once the credentials pass verification, the system examines the device being used for the login attempt. This includes details about the browser, operating system, screen resolution, language settings, and more. The server maintains a database of previously encountered devices linked to each account ID. If the system encounters a new device, it initiates additional verification steps to ensure the login is legitimate.

Following successful device authentication, the bank issues a short-lived session token. This token can be either a signed JSON Web Token (JWT) or an opaque session ID stored in an HttpOnly cookie. The HttpOnly attribute prevents JavaScript from accessing the token, thereby mitigating the risk of Cross-Site Scripting (XSS) attacks. The server might set the cookie with attributes like Secure, SameSite=Strict, and HttpOnly to enhance its security.

In addition to the above, if the system detects any unusual activity, such as a new device, a different location, or if the account has two-factor authentication (2FA) enabled, the user will be prompted to provide a one-time passcode (OTP). This OTP can be sent via SMS to the registered phone number or generated by an authenticator app. TOTP, adhering to the RFC 6238 standard, provides a time-based, 30-second validity period for this OTP.

After the login process, the bank's system performs a risk assessment in real-time. It evaluates various factors including recent transaction patterns, geolocation data, and whether the device is recognized as trustworthy. If the risk score exceeds a predefined threshold, the system may require additional authentication steps to ensure the transaction's legitimacy.

For those who prefer to avoid technical explanations, Chase provides a user-friendly guide addressing common login errors, forgotten usernames, locked accounts, and issues related to mobile app logins. This approach ensures users are well-informed about the security measures in place without delving into complex technical details.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

How to Check Your NGO's Website Security Before Launch: A 7-Point Checklist

Originally published at scouthub.dev . Before you launch your association's website, check seven things: HTTPS, security headers, cookies, leftover files on the server, outdated software, protection…

  • Ensure website uses encrypted HTTPS connection
  • Implement security headers to control browser handling
  • Manage cookies with Secure, HttpOnly, SameSite attributes

Keeping an agricultural header at height: what the sensor has to survive

Header height control is one of the least forgiving places to put a distance sensor. The ground is moving, the crop is in the way, the machine is vibrating, and the window is covered in dust within an…

  • 905 nm module suitable for harsh agricultural conditions
  • Minimum range of 0.3-1.5 meters crucial for header height
  • Dust protection methods like recessing window or air purge essential

What Does an NGO Website Need, in How Many Languages, and What Should You Ask the Developer?

Originally published at scouthub.dev . A good NGO website says who you are and what you do on the first screen, then shows your programmes, your transparency and how to contact or support you.

  • An NGO website should convey purpose and programs on the first screen
  • Include clear call to action and be available in languages spoken by audience
  • Accept donations through secure payment provider with transparent fees

More from Monday, 30 November 2026 →