Enterprise I.T. Archives - Anuj Varma https://www.anujvarma.com/category/enterprise-i-t/ Production Grade Technical Solutions | Data Encryption and Public Cloud Expert Tue, 18 Aug 2026 04:50:15 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 https://www.anujvarma.com/wp-content/uploads/anujtech.png Enterprise I.T. Archives - Anuj Varma https://www.anujvarma.com/category/enterprise-i-t/ 32 32 Second Factor Options – Google Auth, Yubi Keys, Security Questions… https://www.anujvarma.com/second-factor-options-google-auth-yubi-keys-security-questions/ https://www.anujvarma.com/second-factor-options-google-auth-yubi-keys-security-questions/#respond Fri, 24 Oct 2025 16:59:16 +0000 https://www.anujvarma.com/?p=9774   Second Factor in MFA: YubiKeys vs Security Questions vs SMS Texts vs TOTP Apps 1) YubiKeys (Hardware Security Keys — FIDO2/U2F) Strongest protection: public-key crypto; resistant to…

The post Second Factor Options – Google Auth, Yubi Keys, Security Questions… appeared first on Anuj Varma.

]]>
 

Second Factor in MFA: YubiKeys vs Security Questions vs SMS Texts vs TOTP Apps

1) YubiKeys (Hardware Security Keys — FIDO2/U2F)

  • Strongest protection: public-key crypto; resistant to phishing, SIM-swaps, and replay.
  • Hardware bound: requires physical possession; ideal for admins/high-value accounts.
  • Fast & reliable: tap/insert; no codes; works offline once registered.
  • Broad support: major IdPs (Google, Microsoft, Okta), browsers, and OSes.
  • Cost: typically $40–$70 per key; teams need spares.
  • Loss/rotation: must plan backup keys and recovery flow.
  • Setup/compatibility: legacy apps may lack FIDO support; onboarding non-technical users can take guidance.

2) Security Questions

  • Simple: no hardware/app required; familiar to end users.
  • Offline fallback: can be used for account recovery where nothing else is available.
  • Weak assurance: answers are guessable, researchable, or reused; easy to phish.
  • Static “secrets”: once exposed, provide ongoing risk; often poorly stored/validated.
  • Deprecated pattern: increasingly discouraged by modern identity standards.

3) SMS Text Messages (One-Time Codes)

  • Ubiquitous: works on any phone; near-universal service support.
  • Low friction: easy onboarding; no extra apps or hardware.
  • Susceptible to takeovers: SIM-swaps, number-port-out fraud, SS7 flaws, insider abuse.
  • Coverage dependent: no signal ⇒ no code; delivery can be delayed.
  • Phishable: users can be tricked into reading codes to attackers or entering on fake sites.

4) TOTP App Codes (e.g., Google Authenticator, Authy, Microsoft Authenticator)

Time-based One-Time Password (RFC 6238)

  • Stronger than SMS: offline after setup; not tied to phone number or carrier.
  • Widely supported & free: works with most services; multiple accounts per app.
  • Reasonable usability: 6-digit code every ~30s; no special hardware to buy.
  • Still phishable: attacker-in-the-middle can relay codes in real time.
  • Seed/backup risk: losing device without backups/export of secrets can lock users out; seed theft compromises factor.
  • Device management: multi-device sync varies by app; requires secure backup practices.

Summary Comparison

Factor Type Security Strength Phishing Resistance Cost Ease of Use Reliability Best Fit
YubiKey (Hardware) ★★★★★ (Highest) High ( Origin-bound, challenge-response ) $$ (hardware purchase) Medium (simple once issued) Very High (no network needed) Admins, executives, developers, finance, privileged access
TOTP App Codes ★★★★ Medium-Low (codes can be phished) $ (free apps) Medium (manual code entry) High (offline; time-sync required) General workforce; good balance of security & cost
SMS Codes ★★ Low (SIM-swap/relay risk) $ Easy Medium (coverage & delivery issues) Low-risk users; temporary fallback only
Security Questions ★ (Lowest) Very Low $ Easy Low Legacy recovery scenarios (avoid for MFA)

Practical Recommendations

  • Primary for high-value access: YubiKeys (with at least one backup key and a documented recovery process).
  • Default for most users: TOTP app codes (enable secure backup/export of seeds or use enterprise-managed authenticators).
  • Fallback only: SMS (use for emergency recovery; monitor for SIM-swap attempts; restrict for admins).
  • Avoid as MFA: Security questions (if used at all, limit to secondary recovery with strong KBA controls).

 

The post Second Factor Options – Google Auth, Yubi Keys, Security Questions… appeared first on Anuj Varma.

]]>
https://www.anujvarma.com/second-factor-options-google-auth-yubi-keys-security-questions/feed/ 0
SolarWinds vs SentinelOne Comparison https://www.anujvarma.com/solarwinds-vs-sentinelone-comparison/ https://www.anujvarma.com/solarwinds-vs-sentinelone-comparison/#respond Wed, 22 Oct 2025 20:15:04 +0000 https://www.anujvarma.com/?p=9771   SolarWinds vs SentinelOne When comparing SolarWinds and SentinelOne, it helps to clarify that they serve different (though sometimes overlapping) segments of IT and security management. Below is…

The post SolarWinds vs SentinelOne Comparison appeared first on Anuj Varma.

]]>
 

SolarWinds vs SentinelOne

When comparing SolarWinds and SentinelOne, it helps to clarify that they serve different (though sometimes overlapping) segments of IT and security management. Below is a breakdown of their differences and best-fit use cases.


What Each Company Focuses On

SolarWinds

  • Focus: IT infrastructure, network monitoring, and systems management.
  • Provides tools for monitoring networks, servers, applications, patch management, and compliance.
  • Products like SolarWinds Patch Manager automate patch deployment and compliance.
  • Has partnered with SentinelOne to integrate endpoint detection and response (EDR) capabilities.

SentinelOne

  • Focus: Cybersecurity, Endpoint Detection and Response (EDR), and Extended Detection and Response (XDR).
  • Uses AI and behavioral analytics to detect, prevent, and respond to cyber threats like ransomware and zero-days.
  • Covers endpoints, servers, cloud workloads, and IoT — primarily for advanced threat protection.

Key Differences

Category SolarWinds SentinelOne
Primary Use-Case Infrastructure/IT operations monitoring, patching, and system management Cybersecurity: endpoint protection, threat detection, and response
Depth of Threat Detection Strong for patching and baseline monitoring, but less advanced in threat hunting AI-driven detection, autonomous response, and advanced threat hunting
Patch & Vulnerability Management Excellent at automating patches (especially Microsoft + 3rd-party apps) Has vulnerability management within its “Singularity” suite, but focus is on threat response
Cost / Complexity Simpler for IT operations; good dashboards and compliance automation More advanced; requires skilled security staff and higher licensing cost
Ecosystem / Integration Strong IT-ops ecosystem; integrates across SolarWinds tools Strong cybersecurity ecosystem; integrates with SIEM, XDR, and threat intelligence feeds
Ideal Customer Organizations needing strong infrastructure visibility, patch compliance, and system management Organizations needing advanced threat protection, EDR/XDR capabilities, and automated response

When to Choose Each

  • Choose SolarWinds if your priority is managing and monitoring IT infrastructure, servers, and networks — with a focus on visibility, patch compliance, and operations.
  • Choose SentinelOne if your goal is to protect endpoints, stop malware/ransomware, and detect/respond to advanced cyber threats.
  • If you already use SolarWinds for operations, you can integrate SentinelOne to add EDR capabilities.
  • Consider your budget, in-house security expertise, and attack-risk profile — regulated industries or high-risk sectors may benefit more from SentinelOne’s deep security focus.

Final Thoughts

While there is some overlap — especially since SolarWinds now integrates SentinelOne — their core difference lies in operations monitoring vs. threat detection and response.

Summary:

  • SolarWinds → Best for IT management, patching, and infrastructure visibility.
  • SentinelOne → Best for cybersecurity, AI-based endpoint protection, and autonomous threat response.

If you’d like, I can also create a detailed side-by-side feature matrix (modules, pricing tiers, integrations, supported workloads) for both tools to help evaluate fit for your environment.

 

The post SolarWinds vs SentinelOne Comparison appeared first on Anuj Varma.

]]>
https://www.anujvarma.com/solarwinds-vs-sentinelone-comparison/feed/ 0
Thales HSM – Key Concepts https://www.anujvarma.com/9745-2/ https://www.anujvarma.com/9745-2/#respond Thu, 21 Aug 2025 17:52:14 +0000 https://www.anujvarma.com/?p=9745 Thales HSM – Key Concepts Applies to Luna, nShield, and Thales Data Protection on Demand (DPoD) 1) What an HSM Does Tamper-resistant hardware for generating, storing, and using…

The post Thales HSM – Key Concepts appeared first on Anuj Varma.

]]>
Thales HSM – Key Concepts
Applies to Luna, nShield, and Thales Data Protection on Demand (DPoD)

1) What an HSM Does

  • Tamper-resistant hardware for generating, storing, and using cryptographic keys without exposing plaintext key material.
  • Primary uses: PKI (CAs and certificates), encryption/decryption, digital signatures, secrets & key management.

2) Security Foundations

  • Root of Trust: The HSM is the trust anchor for cryptographic operations.
  • FIPS 140-2/140-3: Certified assurance levels for hardware and firmware.
  • Tamper Response: Physical tamper triggers zeroization of sensitive keys.

3) Key Management

  • Keys (RSA, ECC, AES…) generated inside the HSM; never leave in plaintext.
  • Key Wrapping: Export only under a wrapping (KEK) or master key.
  • Partitions: Isolated logical containers with independent policies/admins.
  • HA & Replication: Securely replicate keys across clustered HSMs.

4) Authentication & Roles

  • PED/Smartcards: Strong admin/operator authentication (model-dependent).
  • Roles: Security Officer (SO), Crypto Officer (CO), Crypto User (CU).

5) Application Integration

Common APIs & SDKs

PKCS#11
JCE (Java)
MS CNG/KSP

  • Apps (web servers, DBs, signing services) offload crypto to the HSM via these interfaces.

6) Deployment Models

  • On-prem appliances (rack), PCIe cards, USB HSMs.
  • Cloud HSMs: Thales Data Protection on Demand (DPoD).

7) Typical Use Cases

  • Certificate Authorities (Root/Sub-CA), code/document signing.
  • Database/file encryption key protection (e.g., TDE/KMS).
  • Payment security (PCI), tokenization, blockchain key custody.

Enterprise Integration Diagram

Enterprise Applications

Web/API Servers
TLS keys, JWT signing, mTLS

PKCS#11
CNG/KSP

Databases / Storage
TDE, DEK wrapping, KM
PKCS#11

PKI / CA Services
Root/Sub-CA keys, CRL/OCSP
PKCS#11

Signing Services
Code/doc signing, TSA
PKCS#11
JCE

Thales HSM
Luna / nShield / DPoD (Cloud HSM)

Secure key gen & storage (RSA/ECC/AES)
Key wrapping & partitions
FIPS 140-2/140-3; tamper response

Admin / Security Officer
PED / smartcards

Operations & Resilience

Audit / Logging
HSM events → SIEM/SOC

Secure Backup
Wrapped key blobs / backup HSM

HA / Clustering
Synchronized partitions across nodes

HSM-A
HSM-B


PKCS#11 / CNG
PKCS#11
PKCS#11
PKCS#11 / JCE


Events / Audit
Backups
Partition Sync

Thales HSM as the cryptographic root of trust: applications call into the HSM via PKCS#11/JCE/CNG; admins use PED/smartcards; logs/backup/HA support operations and resilience.
App/API traffic
Admin control
Audit/backup flows
HA/replication

Quick Reference

  • Keys never leave the HSM in plaintext. Export only as wrapped blobs.
  • Use partitions to isolate teams/apps and apply distinct policies.
  • Prefer client libraries via PKCS#11, JCE, or CNG/KSP rather than custom crypto.
  • Plan for HA and backup HSM from day one; test restore procedures.
  • Collect and monitor audit logs in your SIEM; alert on policy violations and failures.

The post Thales HSM – Key Concepts appeared first on Anuj Varma.

]]>
https://www.anujvarma.com/9745-2/feed/ 0
File Transfer versus APIs https://www.anujvarma.com/file-transfer-versus-apis/ https://www.anujvarma.com/file-transfer-versus-apis/#respond Fri, 27 Jun 2025 18:32:49 +0000 https://www.anujvarma.com/?p=9710 API vs File Transfer: Choosing the Right Method for Data Exchange APIs and file transfers are both widely used methods for data exchange between systems. While they serve…

The post File Transfer versus APIs appeared first on Anuj Varma.

]]>
API vs File Transfer: Choosing the Right Method for Data Exchange

APIs and file transfers are both widely used methods for data exchange between systems. While they serve a similar goal—sharing data—they differ significantly in how they operate, what they’re optimized for, and which use cases they best support.

APIs (Application Programming Interfaces)

Real-Time Data Exchange

APIs enable immediate communication between systems, making them ideal for applications where up-to-the-minute data is crucial—such as live dashboards, financial services, or e-commerce platforms.

Structured and Targeted Data

APIs typically exchange data in structured formats like JSON or XML, which ensures consistency and interoperability. They allow clients to request specific data elements, reducing overhead and improving efficiency.

Flexibility and Automation

APIs support automation and dynamic workflows. Systems can communicate with minimal manual intervention, significantly reducing human error and operational cost.

Integration Complexity and Dependency Risks

Integrating multiple APIs from different sources can be complex and may require ongoing maintenance. Additionally, third-party APIs introduce external dependencies—if the API goes down or changes, your application may break.

Common Use Cases for APIs

  • Integrating payment gateways (e.g., Stripe, PayPal)
  • Building mobile or web applications with live data
  • Connecting with social media platforms
  • Retrieving or updating data on-the-fly (e.g., CRM, ERP systems)

File Transfers

Batch Processing and High-Volume Data Exchange

File transfers are optimal for sending large amounts of data in one go, such as daily financial reports, data backups, or archival records. They are often used in environments where real-time data isn’t necessary.

Security and Protocols

Secure file transfer protocols (like SFTP) ensure that data is encrypted during transmission. These solutions also support logging, tracking, and audit trails—essential for compliance-heavy industries.

Control and Management

File transfer systems allow for visibility into when and how data moves. However, they can be prone to errors if manual handling is required or if file formats are inconsistent.

Drawbacks of File Transfers

  • Potential delays due to batch schedules or large file sizes
  • Higher chance of manual errors during upload/download
  • Less suitable for real-time or interactive applications

Common Use Cases for File Transfers

  • Exchanging large datasets between partners or teams
  • Transferring financial or compliance data in bulk
  • Automating uploads to cloud storage or data warehouses

Choosing Between API and File Transfer

The decision between using APIs or file transfers depends on the use case:

  • If real-time updates and dynamic interaction are required, choose APIs.
  • If you need to transfer large data volumes periodically or when real-time isn’t critical, use file transfers.

The post File Transfer versus APIs appeared first on Anuj Varma.

]]>
https://www.anujvarma.com/file-transfer-versus-apis/feed/ 0
API Hosting and Routing using NGNIX https://www.anujvarma.com/api-hosting-and-routing-using-ngnix/ https://www.anujvarma.com/api-hosting-and-routing-using-ngnix/#respond Mon, 16 Jun 2025 20:00:08 +0000 https://www.anujvarma.com/?p=9687   Using Nginx for Hosting and Routing APIs 1. Hosting APIs with Nginx When used to host APIs, Nginx serves as a reverse proxy that receives incoming HTTP(S)…

The post API Hosting and Routing using NGNIX appeared first on Anuj Varma.

]]>
 

Using Nginx for Hosting and Routing APIs

1. Hosting APIs with Nginx

When used to host APIs, Nginx serves as a reverse proxy that receives incoming HTTP(S) requests and forwards them to backend services (often written in Node.js, Python, Go, etc.).

Example

Let’s say you have a REST API running on localhost:3000. You can configure Nginx to expose it on https://api.example.com/ like so:

server {
    listen 80;
    server_name api.example.com;

    location / {
        proxy_pass http://localhost:3000;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
    }
}

This configuration:

  • Routes all requests from api.example.com to the backend app on port 3000.
  • Preserves the client IP and host info for the backend.

2. API Routing with Nginx

In microservices, you may have multiple services (e.g., /users, /orders, /payments). Nginx routes incoming requests to the correct service.

Example

server {
    listen 80;

    location /users/ {
        proxy_pass http://user-service:4000/;
    }

    location /orders/ {
        proxy_pass http://order-service:5000/;
    }

    location /payments/ {
        proxy_pass http://payment-service:6000/;
    }
}

This configuration lets you route:

  • /users/... → user service
  • /orders/... → order service
  • /payments/... → payment service

3. Service Discovery with Nginx

Nginx itself does not do dynamic service discovery out of the box. But there are three common ways to integrate it:

A. Static Configuration

You define backend IPs or hostnames directly in the config.

upstream user_service {
    server 10.0.0.21:4000;
    server 10.0.0.22:4000;
}

B. DNS-based Service Discovery

If you’re in a dynamic environment (e.g., Docker Swarm, Kubernetes), services can be registered via DNS:

upstream user_service {
    server user-service.default.svc.cluster.local:4000;
}

C. Dynamic Reconfiguration

You can use tools to auto-update the Nginx config when services change:

  • Consul Template: Watches for changes and rewrites nginx.conf.
  • Lua + Nginx (via OpenResty): Allows dynamic routing logic within Nginx itself.

Bonus: Nginx as an API Gateway

If you use Nginx Plus, you get features like:

  • Active health checks
  • JWT validation
  • Rate limiting
  • Advanced load balancing
  • Native service discovery

With OpenResty (Nginx + Lua), you can build custom logic. Example:

-- Lua-based routing
if uri:match("^/v2/users") then
    proxy_pass("http://new-user-service")
end

Summary Table

Role What Nginx Does
API Hosting Acts as reverse proxy to backend services
API Routing Directs requests to correct microservice
API Discovery Via DNS, templates, or Lua scripting
Load Balancing Distributes traffic across instances
SSL Termination Handles HTTPS so backend doesn’t have to

 

The post API Hosting and Routing using NGNIX appeared first on Anuj Varma.

]]>
https://www.anujvarma.com/api-hosting-and-routing-using-ngnix/feed/ 0
Moving your site behind Cloudflare https://www.anujvarma.com/moving-your-site-behind-cloudflare/ https://www.anujvarma.com/moving-your-site-behind-cloudflare/#respond Sat, 31 May 2025 01:42:27 +0000 https://www.anujvarma.com/?p=9664 Step-by-Step Guide: Moving a Website Behind Cloudflare 1. Add Your Website to Cloudflare Sign in to Cloudflare. Click Add Site and enter your domain (e.g., example.com). Cloudflare will…

The post Moving your site behind Cloudflare appeared first on Anuj Varma.

]]>
Step-by-Step Guide: Moving a Website Behind Cloudflare

1. Add Your Website to Cloudflare

  • Sign in to Cloudflare.
  • Click Add Site and enter your domain (e.g., example.com).
  • Cloudflare will scan existing DNS records and import them.

2. Review and Update DNS Records

  • Go to the DNS section of your Cloudflare dashboard.
  • Ensure all A, AAAA, and CNAME records that point to your origin IP are marked with the orange cloud icon (Proxied).
☁ When Proxied (orange cloud): Visitors will see Cloudflare IPs instead of your origin IP.

3. Update Your Registrar’s Nameservers

  • Cloudflare will provide two nameservers (e.g., abby.ns.cloudflare.com, bob.ns.cloudflare.com).
  • Log into your domain registrar and replace your existing nameservers with these.
  • Wait for DNS propagation (usually a few hours).

4. Check DNS Propagation

  • Use tools like dnschecker.org.
  • Or use terminal commands like: dig yourdomain.com or nslookup yourdomain.com.
  • You should see Cloudflare IPs (not your server’s original IP).

⚠ Important Considerations

Item Description
🔐 Don’t expose your origin IP Remove or secure old subdomains that point directly to your origin (e.g., test.yourdomain.com).
🧱 Firewall your origin Configure your server to accept traffic only from Cloudflare IPs: cloudflare.com/ips.
🌍 Wildcard Domains Cloudflare free plans don’t proxy wildcard * records by default. Add them explicitly if needed.
📜 Update hard-coded IPs If anyone accesses your site by raw IP, ask them to use your domain instead.

🔧 Optional: Lock Down Your Server with Cloudflare IP Ranges

If you’re using a firewall like iptables or UFW, allow only Cloudflare IPs:

# Example for UFW (Ubuntu)
sudo ufw allow from 173.245.48.0/20
sudo ufw allow from 103.21.244.0/22
# (Repeat for all Cloudflare IP ranges)

See full list at: https://www.cloudflare.com/ips/

 

The post Moving your site behind Cloudflare appeared first on Anuj Varma.

]]>
https://www.anujvarma.com/moving-your-site-behind-cloudflare/feed/ 0
Security Questions in 2025 https://www.anujvarma.com/security-questions-in-2025/ https://www.anujvarma.com/security-questions-in-2025/#respond Tue, 29 Apr 2025 00:07:24 +0000 https://www.anujvarma.com/?p=9777   Security Questions in 2025: Recovery Crutch or (Bad) Second Factor? Security questions (“What was your first pet’s name?”) have been used for decades to prove “something you…

The post Security Questions in 2025 appeared first on Anuj Varma.

]]>
 

Security Questions in 2025: Recovery Crutch or (Bad) Second Factor?

Security questions (“What was your first pet’s name?”) have been used for decades to prove “something you know.” Today, they mostly show up in two places:

  1. Account recovery (“Forgot password?” flows), and
  2. Step-up or second-factor challenges at sign-in.

This post examines both uses—where they help, where they fail—and what current NIST guidance says in 2025.


TL;DR (for Decision-Makers)

  • NIST no longer recognizes security questions / KBA as an acceptable authenticator. Verifiers SHALL NOT use knowledge-based authentication (KBA) for authentication per SP 800-63B.
  • Use them only if legacy systems require it—and only for recovery, not as a factor.
  • Prefer modern recovery mechanisms: verified email/phone, MFA setup, recovery codes, and human-assisted ID proofing.

1) Security Questions as a Recovery Mechanism

Where They Seem to Help

  • Frictionless fallback: Users don’t need devices or apps to recover accounts.
  • Low implementation cost: Easy to add to legacy systems.

Why They Fail in 2025

  • Guessability & researchability: Answers often public via social media or data leaks.
  • Memorability issues: “Favorite” things change; spelling errors cause lockouts.
  • Breach reuse: Attackers reuse stolen Q&A data across sites.
  • Non-compliance: NIST explicitly forbids KBA/security questions for authentication.

If You’re Stuck with Them (Hardening Checklist)

  • Question quality: Use random, high-entropy prompts; allow custom answers.
  • Answer handling:
    • Require minimum length and block common answers (“blue,” “dog”).
    • Hash and salt answers like passwords.
    • Rate-limit attempts and add IP/device risk checks.
  • Operational controls:
    • Rotate questions on reset; never reuse old ones.
    • Detect stuffing attempts; monitor anomalies.
    • Always pair with verified email/phone challenges.

Better Recovery Patterns

  • MFA-based resets: Verify possession via TOTP, push, or key.
  • Recovery codes: Issue one-time offline codes at enrollment.
  • Out-of-band verification: Verified channels with SIM-swap protection.
  • Human-assisted recovery: ID proofing for high-assurance cases.

2) Security Questions as a Second Factor

Using security questions during every login as a “second factor” is strongly discouraged:

  • Not independent: Still “something you know,” not true MFA.
  • Phishable and guessable: Easily social-engineered.
  • Non-compliant: NIST SP 800-63B removes KBA from approved authenticators.

Better Second Factors

  • TOTP / Authenticator apps (Google Authenticator, Authy, etc.)
  • Push approvals with number matching and replay protection.
  • WebAuthn / FIDO2 (passkeys) for phishing resistance.
  • Hardware tokens for offline environments.

3) What NIST Says (2024–2025)

SP 800-63B (Digital Identity Guidelines – Authentication & Lifecycle) states that verifiers
SHALL NOT use knowledge-based authentication (security questions) for authentication or password recovery.

The NIST 800-63 FAQ also clarifies that knowledge-based authentication
is no longer an acceptable authenticator.

Bottom line: NIST does not recommend security questions for authentication. They are deprecated.


4) Implementation Guidance by Use Case

For Recovery

  1. Freeze scope: Don’t add new users; move to MFA-based recovery.
  2. Compensating controls: Strength checks, rate limits, anomaly detection.
  3. Sunset plan: Migrate to passkeys/TOTP and remove questions once complete.

For Second Factor

  1. Stop treating questions as MFA. They add no diversity.
  2. Migrate to real factors: TOTP, WebAuthn, hardware tokens.
  3. Add risk checks: Device binding, geo-velocity, impossible travel detection.

5) UX & Privacy Considerations

  • Protect answers as PII: Handle like passwords; minimize collection.
  • Reduce friction: Avoid multi-screen Q&A flows; prefer passkeys.
  • Accessibility: Passkeys and MFA apps now have broader device support; security questions don’t add inclusivity.

6) A Pragmatic 12-Month Roadmap

  1. Policy: Update standards to prohibit KBA/security questions.
  2. Technology: Enable passkeys/WebAuthn, TOTP, and recovery codes.
  3. Risk Management: Add rate limits, IP reputation checks, and credential screening.
  4. Communication: Encourage users to enroll stronger factors.
  5. Decommission: Remove questions from login and recovery once adoption reaches threshold.

References


Bottom Line

Security questions are obsolete for authentication and only marginally acceptable as a
temporary recovery fallback. Replace them with passkeys, WebAuthn, TOTP, and recovery codes
to align with NIST SP 800-63B and modern identity security best practices.

The post Security Questions in 2025 appeared first on Anuj Varma.

]]>
https://www.anujvarma.com/security-questions-in-2025/feed/ 0