โปรแกรมจำลองการเข้ารหัส Python ความ🔐ปลอดภัยทางไซเบอร์ (45 นาที)
Lesson Flow (5 ขั้นตอน)
ขั้นตอนที่ 1: ตัวแปรพื้นฐานเกี่ยวกับภัยคุกคาม (8 นาที)
ขั้นตอนที่ 2: การตรวจสอบความถูกต้องของอินพุต (9 นาที)
ขั้นตอนที่ 3: การรักษาความปลอดภัยด้วยรหัสผ่าน (9 นาที)
ขั้นตอนที่ 4: ลอจิกการเข้ารหัส (9 นาที)
ขั้นตอนที่ 5: การออกแบบระบบที่ปลอดภัย (10 นาที)
🧠 ขั้นตอนที่ 1: ตรวจจับภัยคุกคามด้านความปลอดภัย
เขียนรหัส Python ที่จัดเก็บชื่อผู้ใช้และตรวจสอบว่ามีอักขระที่ไม่ปลอดภัยเช่น ““ หรือไม่
🔐 Stage 2: Input Validation System
Create a function that rejects empty or invalid inputs.
🔑 Stage 3: Password Strength Checker
Write logic that checks if a password is strong (length > 8 and includes numbers).
🔒 Stage 4: Simple Encryption Concept
Simulate shifting letters by +1 (basic Caesar cipher concept).
🧠 Stage 5: Secure Login System Design
Combine validation + password check into a secure login flow.
