Menu

๐Ÿ“ฐ
0

๐—Ÿ๐—ผ๐—ด๐—ถ๐—ป ๐— ๐—ฒ๐—ฐ๐—ต๐—ฎ๐—ป๐—ถ๐˜€๐—บ๐˜€

DEV Community: authenticationยทKiranยทabout 1 month ago
#ZtvH6lOq
Reading 0:00
15s threshold

๐Ÿ” Every app has a login. But do you know what's happening under the hood? Here are the most common login mechanisms every developer (and tech enthusiast) should know: ๐—ฃ๐—ฎ๐˜€๐˜€๐˜„๐—ผ๐—ฟ๐—ฑ-๐—•๐—ฎ๐˜€๐—ฒ๐—ฑ ๐—”๐˜‚๐˜๐—ต๐—ฒ๐—ป๐˜๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป The most traditional method โ€” user provides a username/email and a secret password. โ€ข Plain passwords (basic, least secure) โ€ข Hashed + salted passwords (bcrypt, Argon2, PBKDF2) โ€ข Password managers auto-fill strong, unique passwords ๐— ๐˜‚๐—น๐˜๐—ถ-๐—™๐—ฎ๐—ฐ๐˜๐—ผ๐—ฟ ๐—”๐˜‚๐˜๐—ต๐—ฒ๐—ป๐˜๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป (๐— ๐—™๐—” / ๐Ÿฎ๐—™๐—”) Combines two or more factors for stronger security: โ€ข Something you know โ€” password, PIN โ€ข Something you have โ€” OTP via SMS, authenticator app (TOTP/HOTP), hardware key โ€ข Something you are โ€” biometrics ๐—ข๐—ง๐—ฃ (๐—ข๐—ป๐—ฒ-๐—ง๐—ถ๐—บ๐—ฒ ๐—ฃ๐—ฎ๐˜€๐˜€๐˜„๐—ผ๐—ฟ๐—ฑ) A temporary, single-use code: โ€ข SMS OTP โ€” code sent via text message โ€ข Email OTP โ€” code sent to email โ€ข TOTP โ€” Time-based (Google Authenticator, Authy) โ€ข HOTP โ€” Counter-based OTPs ๐—ฃ๐—ฎ๐˜€๐˜€๐˜„๐—ผ๐—ฟ๐—ฑ๐—น๐—ฒ๐˜€๐˜€ ๐—”๐˜‚๐˜๐—ต๐—ฒ๐—ป๐˜๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป No passwordโ€ฆ

Continue reading โ€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More