Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

Windows 10: วิธีเปลี่ยนการตั้งค่าความปลอดภัย FTP

เปลี่ยน FTP Username/Password ใน Windows 10

  1. Right-click This PC > Manage > Local Users and Groups > Users
  2. Right-click FTP User > Set Password
  3. ใส่รหัสผ่านใหม่ 2 ครั้ง > OK

เปิดใช้งาน FTP Server บน Windows 10

  1. Control Panel > Programs > Turn Windows features on or off
  2. ขยาย Internet Information Services > FTP Server
  3. ติ๊ก FTP Service และ FTP Extensibility > OK

ทำให้ FTP ปลอดภัยขึ้น (Best Practices)

  • ใช้ Strong Passwords (ยาว ≥12 ตัวอักษร, ผสมพิมพ์ใหญ่/เล็ก/ตัวเลข/สัญลักษณ์)
  • จัดการบัญชีอย่างต่อเนื่อง (Disable/Delete บัญชีไม่ใช้)
  • ใช้ SFTP (SSH File Transfer Protocol) แทน FTP ธรรมดา - เข้ารหัสทั้ง Command และ Data Channel
  • บังคับ FTPS (FTP over SSL/TLS) หากต้องใช้ FTP
  • ใช้ Hashing Algorithm แข็งแกร่ง (SHA-256+)
  • เข้ารหัสไฟล์ก่อนถ่ายโอน (PGP/GPG)
  • ใช้ IP Allowlist/Blocklist

เปิด FTP ผ่าน Windows Firewall

  1. Start > ค้นหา "Windows Defender Firewall"
  2. Allow an app through firewall > Change settings
  3. หา "FTP Server" ติ๊ก Private และ Public > OK

ตั้งค่า FTP Server บน Windows 10 (IIS)

  1. Turn Windows Features On/Off > IIS > FTP Server
  2. IIS Manager > Sites > Add FTP Site
  3. ตั้งค่า IP, Port (21), SSL, Authentication (Basic/Anonymous), Authorization Rules
  4. ตั้งค่า FTP Firewall Support (Passive Mode Port Range) สำหรับการทำงานผ่าน NAT/Firewall

ค่า Default FTP Username/Password

ไม่มีค่า Default มาตรฐาน ขึ้นอยู่กับการตั้งค่าของ Admin ทั่วไปจะสร้าง User เองใน Local Users หรือ IIS Manager

ทำไม FTP ไม่แนะนำสำหรับข้อมูลสำคัญ?

FTP ส่งข้อมูล Username, Password, และ Data เป็น Plain Text (Clear Text) โดน Sniffing/Interceptor ได้ง่าย ควรใช้ SFTP หรือ FTPS แทน

Active FTP vs Passive FTP Security Risk

Active FTP: Server ต่อกลับ Client Port > 1024 มักถูก Firewall บล็อก และมีความเสี่ยงจาก Port Prediction Attacks
Passive Mode: Client เริ่มต้น Connection ทั้งคู่ ปลอดภัยกว่าและทำงานผ่าน NAT/Firewall ได้ดีกว่า