Skip to content
José da Cruz

Enterprise Architect, and Life Thinker

José da Cruz

Enterprise Architect, and Life Thinker

Password Based Authentication

josedacruz, July 4, 2023

Password Based Authentication

is a method of verifying the identity of users who want to access a system or a service.

  • uses a username and a password (a secret string of characters).
  • It is simple, easy to implement, and supported by most systems.
  • risks: forgetting, weak strings, reuse, stolen, guessing
  • risks: cracked by phishing, brute force, and dictionary attacks
  • can be stored encrypted in a database, files, or vaults.
  • best stored as a hash rather than encrypted, using salting and stretching.
  • salting: adding a random string of characters called a salt
  • stretching: applying the hashing function multiple times to each password
  • transmission: Always use HTTPS (SSL or TLS). Hash the password on the client side.
  • at the server side, use of the zero-knowledge technique, for instance, using SRP (Secure Remote Protocol)
  •  

Related

architecture architectureautheticationpassword-based

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • architecture (154)
  • artificial-intelligence (6)
  • books (2)
  • courses (4)
  • decision-frameworks (4)
  • finances (1)
  • java (8)
  • life-improvement (20)
  • metrics (3)
  • observability (2)
  • puzzles and challenges (3)
  • reviews (1)
  • security (8)
  • spring-boot (36)
  • Systems Thinking (3)
  • GitHub Weekly: MCP Tools Trending Right Now (September 28 – October 4, 2026)
  • The Bulkhead Pattern: Why One Slow Dependency Shouldn’t Sink the Whole Ship
  • Essential Reading: A Philosophy of Software Design — Fighting Complexity One Module at a Time
  • GitHub Weekly: Top 10 Trending Repos (September 21 – September 27, 2026)
  • The Volunteer Tax: Why Raising Your Hand in a Meeting Makes You the Permanent Owner
©2026 José da Cruz | WordPress Theme by SuperbThemes