Technology

How to Protect Your Online Accounts: Passwords, Passkeys and 2FA

Most account takeovers start with a reused password or a phishing message. A password manager, passkeys, strong 2FA and saved recovery codes close most gaps.

Illustration for How to Protect Your Online Accounts: Passwords, Passkeys and 2FA

To protect your online accounts, use a long, unique password for every account stored in a password manager, add passkeys where they are offered, turn on the strongest multifactor authentication each service supports and save your recovery codes. Most account takeovers start with a reused password or a phishing message, and these steps close most of those gaps.

This iDevsa.com guide follows US government advice from CISA, NIST and the FTC, but the steps apply wherever you live.

Key takeaways

  • Use a unique, long password for every account; a password manager makes that realistic.
  • Turn on multifactor authentication everywhere, starting with email, banking and social media.
  • Authenticator apps and security keys are stronger than text-message codes, which SIM swaps can intercept.
  • Passkeys replace passwords with a device-based credential designed to resist phishing.
  • Save recovery codes before you need them, and follow a clear checklist after a breach.

Start with your most important accounts

Your email account is the master key to most of your online life, because whoever controls it can reset passwords for everything else. You do not need to fix every account in one evening. Prioritize the ones that would hurt most:

  1. Your main email account, since it controls password resets
  2. Banking, payment and investment apps
  3. Your password manager, once you have one
  4. Phone carrier and cloud storage accounts
  5. Social media and any work or business account

If you run a website or online store, add your domain registrar, hosting and payment processor to that top tier. Our guide to building a website as a beginner explains why those logins matter.

Passwords: long, unique and stored in a manager

CISA’s strong password guidance recommends at least 16 characters, either random or a passphrase of four to seven unrelated words, and a different password for every account. Reuse is the real danger, because criminals try breached email and password pairs on other services.

NIST’s SP 800-63B digital identity guidelines have moved away from older habits. They tell services not to force mixtures of character types or periodic password changes unless there is evidence of compromise. Length and uniqueness matter more than swapping a letter for a symbol every 90 days.

Use a password manager

Nobody can remember dozens of long, unique passwords. A password manager generates them, stores them in an encrypted vault and fills them in, so you only remember one strong master passphrase. Pick one that works across all your devices.

A good manager also protects you from fake sites, because it will not autofill your password on a lookalike domain. If it does not offer to fill, stop and check the address.

Passkeys: the password replacement

A passkey is a sign-in credential based on FIDO standards, stored on your phone, computer, password manager or a hardware security key. You unlock it the same way you unlock your device, with a fingerprint, face scan or PIN. There is no password to type, guess or reuse.

The big advantage is phishing resistance. The technology behind passkeys ties the sign-in to the real website’s domain, so a fake site cannot capture something reusable. At iDevsa.com we suggest adding a passkey wherever a service offers one, and keep your existing password in your manager as a fallback until it works on every device.

Multifactor authentication: choose the strongest option

Multifactor authentication (MFA), also called two-factor authentication, asks for a second proof after your password. The FTC recommends two-factor authentication to protect your accounts and notes it is usually not on by default, so you have to enable it yourself.

MethodStrengthsWeaknesses
SMS or email codeEasy to set up; far better than nothingPhone numbers can be hijacked by SIM swaps
Authenticator appNot tied to your phone number; works offlineCodes can still be typed into a phishing site
Push approvalQuick and convenientAttackers may send repeated prompts hoping you tap Approve
Security key or passkeyStrongest option; designed to resist phishingNeeds a backup key or second device

Use the strongest method each account supports, and never approve a sign-in prompt you did not trigger yourself.

Tip: Nobody legitimate will ask you to read out or forward a verification code. If someone calls or texts asking for one, it is a scam, even if they claim to be your bank.

Recognize phishing before you click

Phishing is a message designed to trick you into handing over a password, code or payment details. Common warning signs include:

  • Claims of suspicious activity or a problem with your account
  • Urgent pressure to act now, often with a threat attached
  • Requests to confirm personal or financial information
  • An invoice you do not recognize, or offers of refunds and prizes
  • Sender addresses or links that are slightly off

Polished writing is no longer a sign of safety, since AI can produce flawless scam messages. If a message worries you, go to the company’s site or app directly. Our guide to using AI tools for productivity also explains why passwords and codes should stay out of AI chats.

Save your recovery codes now

When you turn on MFA, many services show one-time recovery codes that get you back in if you lose your phone or security key. Without them, recovery can take days or fail entirely.

  • Save recovery codes in your password manager or print and store them securely.
  • Register a backup security key or second device where possible.
  • Keep your recovery email and phone number up to date.
  • Move your authenticator app and passkeys before replacing a phone.

What to do after a breach

  1. Change the password on the affected account and anywhere you reused it.
  2. Sign out of all sessions and review connected apps and devices.
  3. Check settings for changes like email forwarding rules or a new recovery number.
  4. Turn on or upgrade MFA.
  5. Watch your financial accounts for charges you do not recognize.
  6. Consider a credit freeze with each of the three US credit bureaus, which is free.

Keep everything updated

Updates fix security flaws that criminals exploit, so turn on automatic updates for your phone, computer, browser and apps. Unique passwords, passkeys, strong MFA, saved recovery codes and updated devices work as one routine, and setting them up once leaves most attacks with far less to work with.

For the wider context, our technology trends overview explains where passkeys fit, and the remote work setup guide covers securing a home office. Browse more step-by-step practical guides, the technology category, or explore iDevsa.com for every topic we cover.

Frequently asked questions

Is it safe to store all my passwords in one password manager?

For most people, yes, and it is far safer than reusing passwords. A manager generates, stores and fills unique passwords, so one breach does not expose other accounts. Protect the manager itself with a long, unique master passphrase, multifactor authentication and recovery details saved somewhere secure and offline.

Do I still need a password if I use passkeys?

Often, for now. Many services add a passkey alongside your existing password, and you may still need the password for recovery or on devices without passkey support. Keep a strong, unique password in your manager, add passkeys where available and remove weaker options once passkeys work on all your devices.

Are text-message codes better than nothing?

Yes. Any second factor makes a stolen password much less useful, and SMS codes are easy to set up. Their weakness is that phone numbers can be taken over through SIM swap scams. Where an account offers an authenticator app, passkey or security key, switch to that and keep SMS only as a backup.

Act quickly but calmly. If you entered a password, change it on the real site and anywhere you reused it, then sign out of other sessions. If you downloaded a file, run security software and update your device. If you shared financial details, call your bank using the number on your card.

Written by the iDevsa.com Editorial Team

Every article is researched from primary sources, reviewed by an editor and updated when the facts change. Read our editorial policy.