BT San Technology

15 April 2026

Sessions and signing out: designing expiry, revocation and account recovery

2 min read · Websites and web apps

Illustration: a laptop listing signed-in devices, one checked and one revoked, and a hand plugging in a security key beside a phone
AI-generated illustration

This guide is available in Thai only.

เซสชัน อุปกรณ์ และการยืนยันตัวตนซ้ำ ออกจากเครื่องเดียวต่างจากเพิกถอนทุกเครื่อง การกู้บัญชีต้องมีมาตรการสอดคล้องกับการเข้าสู่ระบบ

ขั้นตอนนำไปใช้

  1. กำหนดงานที่ต้องยืนยันตัวตนซ้ำ
  2. ออกแบบอายุเซสชันและวิธีเพิกถอน
  3. ทดสอบเปลี่ยนรหัสผ่าน ลดสิทธิ์ และออกจากบริษัท
  4. ตรวจการใช้เครื่องร่วมและคำขอที่ส่งระหว่างหมดอายุ

ตัวอย่างผลส่งมอบ

ผลส่งมอบ: ตารางเหตุการณ์เพิกถอนเซสชันและกรณีทดสอบ

ประโยชน์

ช่วยควบคุมการใช้งานต่อเนื่องหลังเงื่อนไขบัญชีเปลี่ยน

ข้อจำกัดและข้อควรระวัง

การหมดอายุถี่เกินไปขัดจังหวะงาน ส่วนเซสชันที่เพิกถอนไม่ได้เพิ่มความเสี่ยง

แหล่งอ้างอิงเริ่มต้น

  • OWASP — Session Management
  • OWASP — Forgot Password Cheat Sheet

References

  1. OWASP — Session Management (accessed 2026-11-21)
  2. OWASP — Forgot Password Cheat Sheet (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer