Email and password authentication should be a last resort (rant)
a year ago
- #security
- #webauthn
- #authentication
- 邮箱+密码认证被认为是最差的方式,存在密码重复使用、规则复杂、频繁重置密码等多重问题。
- 社交账号登录便捷安全,但依赖第三方平台且存在隐私顾虑。
- 许可证密钥用户体验简单,但容易遭遇共享和钓鱼攻击。
- 魔法链接/邮件验证码免密码,但存在投递延迟和体验生硬的问题。
- WebAuthn是当前最佳方案,通过无密码登录兼顾安全与体验,但实现复杂且依赖设备支持。