Authentication (การยืนยันตัวตน) คืออะไร?
กระบวนการตรวจสอบว่า "ผู้ใช้/อุปกรณ์/ระบบ นั้นคือใครจริงๆ" ก่อนอนุญาตให้เข้าถึงทรัพยากร พื้นฐานคือ 3 Factors (ปัจจัย) หลัก:
- Something You Know (สิ่งที่คุณรู้): Password, PIN, Passphrase, Security Question
- Something You Have (สิ่งที่คุณมี): Smartphone (Authenticator App, SMS), Hardware Token (YubiKey, RSA SecurID), Smart Card, OTP Device
- Something You Are (สิ่งที่คุณคือ - Biometrics): Fingerprint, Face ID, Iris Scan, Voice Recognition, Behavioral Biometrics
2 ขั้นตอน (Steps) พื้นฐานของการ Authentication
- Identification (การระบุตัวตน): ผู้ใช้ระบุ Identity (Username, Email, User ID, Certificate Subject) → "ผมคือ ai"
- Verification (การตรวจสอบ/ยืนยัน): ระบบท้าทาย (Challenge) ให้ผู้ใช้พิสูจน์ตัวตนด้วย Credential/Factor → "พิสูจน์ดูว่าเป็น ai จริง"
หมายเหตุ: ในทางปฏิบัติ Identification และ Verification มักรวมกันในขั้นตอน Login เดียว (Username + Password พร้อมกัน)
Two-Factor Authentication (2FA) / Multi-Factor Authentication (MFA) - มาตรฐานปัจจุบัน
2FA = ใช้ 2 Factors จากคนละกลุ่ม (Knowledge + Possession, หรือ Knowledge + Inherence) ไม่ใช่ Password 2 ครั้ง
รูปแบบ 2FA/MFA ที่พบบ่อยที่สุด (Ranked by Security)
| ประเภท | ตัวอย่าง | ระดับความปลอดภัย | ข้อควรระวัง |
|---|---|---|---|
| FIDO2 / WebAuthn / Passkeys (Passwordless) | YubiKey, Windows Hello, Face ID/Touch ID, Android Passkey, Apple Passkey | ⭐⭐⭐⭐⭐ (สูงสุด - Phishing Resistant) | ต้องมี Hardware/Device รองรับ, Backup Method จำเป็น |
| Authenticator App (TOTP - Time-based OTP) | Google Authenticator, Microsoft Authenticator, Authy, Bitwarden Authenticator, 1Password | ⭐⭐⭐⭐ (สูง - Offline, ไม่ต้องพึ่ง SMS) | ต้อง Backup Seed/Recovery Codes, Sync ระหว่างอุปกรณ์ |
| Push Notification (Number Matching) | Microsoft Authenticator, Duo Push, Okta Verify (Number Matching ป้องกัน MFA Fatigue) | ⭐⭐⭐⭐ (สูง - UX ดี, Phishing Resistant กว่า TOTP) | ต้องมี Internet, อาจกด Approve ผิด (MFA Fatigue) → ใช้ Number Matching |
| Hardware Token (OTP / FIDO U2F) | YubiKey (OTP/U2F/FIDO2), RSA SecurID, Feitian | ⭐⭐⭐⭐ (สูง - Physical Possession) | พร้อมเสีย/หาย, ต้องมี Spare, ค่าใช้จ่าย |
| SMS / Voice Call OTP | รหัส 6 หลักส่งทาง SMS/โทร | ⭐⭐ (ปานกลาง - SIM Swap, SS7 Attack, Interception) | ไม่แนะนำสำหรับระบบสำคัญ (NIST DEPRECATED สำหรับ High Assurance) |
| Email OTP / Magic Link | ลิงก์/รหัสส่งทาง Email | ⭐⭐ (พึ่งพาความปลอดภัย Email) | Email ถูก Hack = ทุกอย่างถูก Hack |
| Security Questions | คำถามลับ (แม่สมรส, โรงเรียนแรก) | ⭐ (ต่ำ - ทายได้, หาข้อมูลได้จาก Social Media) | ไม่ควรใช้เป็น Factor เดيد แทน Password |