Network Profile ใน Windows คืออะไร?
Network Profile (โปรไฟล์เครือข่าย) ใน Windows เป็นการจัดกลุ่มการตั้งค่าความปลอดภัยและการแชร์ไฟล์/เครื่องพิมพ์ตามประเภทเครือข่าย มี 2 ประเภทหลัก:
- Private Profile (ส่วนตัว): สำหรับเครือข่ายที่เชื่อถือได้ (บ้าน, สำนักงาน) → เปิด Network Discovery, File/Printer Sharing
- Public Profile (สาธารณะ): สำหรับเครือข่ายสาธารณะ (คาเฟ่, สนามบิน, โรงแรม) → ปิด Network Discovery, File/Printer Sharing เพื่อความปลอดภัย
วิธีเพิ่ม/จัดการ Network Profile ใน Windows 10/11
ผ่าน Settings (GUI)
- Settings (Win+I) > Network & Internet > Wi-Fi (หรือ Ethernet)
- คลิก "Manage known networks" (จัดการเครือข่ายที่รู้จัก)
- คลิก "Add network" (เพิ่มเครือข่าย) → ใส่ SSID, Security Type, Password
- หรือคลิกเครือข่ายที่มีอยู่ > "Properties" เพื่อเปลี่ยน Profile Type (Public/Private)
ผ่าน Control Panel (Classic)
- Control Panel > Network and Internet > Network and Sharing Center
- คลิก "Manage wireless networks" (ซ้ายมือ)
- คลิก "Add" > "Manually create a network profile"
- ใส่ Network name (SSID), Security type (WPA2-Personal, WPA3, Enterprise), Encryption type (AES), Security Key
ผ่าน Command Line (netsh)
# ดูโปรไฟล์ทั้งหมด
netsh wlan show profiles
# เพิ่มโปรไฟล์ใหม่ (ต้องสร้าง XML ก่อน)
netsh wlan add profile filename="path\to\profile.xml" user=all
# ลบโปรไฟล์
netsh wlan delete profile name="SSID_Name"
# เปลี่ยน Profile Type (Public/Private) - PowerShell
Set-NetConnectionProfile -InterfaceAlias "Wi-Fi" -NetworkCategory Private
Wi-Fi Profile (โปรไฟล์ Wi-Fi) คืออะไร?
Wi-Fi Profile คือชุดการตั้งค่าการเชื่อมต่อไร้สายที่บันทึกไว้ ประกอบด้วย:
- SSID (Network Name)
- Security Type (WPA2-Personal, WPA3, WPA2-Enterprise, WPA3-Enterprise)
- Encryption Type (AES, GCMP, TKIP)
- Network Security Key (Password/Passphrase)
- Auto-connect settings, Metered connection, Random Hardware Address
วิธีตรวจสอบ Security Type ของ Wi-Fi ที่เชื่อมต่ออยู่
Windows 10/11:
- Settings > Network & Internet > Wi-Fi
- คลิก "Hardware properties" หรือคลิก ⓘ ข้างชื่อ Wi-Fi
- ดู "Security type" (WPA2-Personal, WPA3-Personal, WEP, Open)
Command Line:
netsh wlan show interfaces
# ดู Authentication, Cipher, Security key
Security Profile (โปรไฟล์ความปลอดภัย) ในบริบทองค์กร
Security Profile คือชุดของสิทธิ์และข้อจำกัดที่กำหนดให้กับผู้ใช้/กลุ่มผู้ใช้ ระบุว่าสามารถเข้าถึงทรัพยากรไหนได้บ้าง (Documents, Master Data) และทำได้อะไรบ้าง (View, Create, Edit, Delete) ใช้ในระบบ ERP, CRM, SIEM, IAM
การตั้งค่าความปลอดภัยเครือข่ายขั้นสูง (Enterprise)
- WPA2/WPA3-Enterprise (802.1X): ใช้ RADIUS Server (NPS, FreeRADIUS, Cisco ISE) + Certificate/EAP-TLS/PEAP
- Certificate-based Authentication: Deploy Machine/User Certificates ผ่าน GPO/MDM
- Network Access Control (NAC): Posture Assessment ก่อนอนุญาตเข้าถึง (AV updated? OS patched?)
- Profile Management via MDM/Intune: Deploy Wi-Fi Profiles, Certificates, Policies ไปยังอุปกรณ์ทุกเครื่องอัตโนมัติ
สร้าง Wi-Fi Profile XML สำหรับ Deploy อัตโนมัติ (Windows)
<?xml version="1.0"?>
<WLANProfile xmlns="https://www.microsoft.com/networking/WLAN/profile/v1">
<name>Corporate_WiFi</name>
<SSIDConfig>
<SSID><hex>436F72706F726174655F57694669</hex><name>Corporate_WiFi</name></SSID>
<nonBroadcast>false</nonBroadcast>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>auto</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>WPA2PSK</authentication>
<encryption>AES</encryption>
<useOneX>false</useOneX>
</authEncryption>
<sharedKey>
<keyType>passPhrase</keyType>
<protected>false</protected>
<keyMaterial>YourStrongPasswordHere</keyMaterial>
</sharedKey>
</security>
</MSM>
</WLANProfile>
Best Practices
- ใช้ WPA3-Personal หรือ WPA2/WPA3 Mixed สำหรับบ้าน/SOHO
- องค์กรควรใช้ WPA2/WPA3-Enterprise (802.1X) + Certificates
- ตั้งค่า "Random Hardware Addresses" (MAC Randomization) ให้เปิด
- ปิด "Connect automatically" สำหรับเครือข่ายสาธารณะ
- ใช้ "Metered Connection" สำหรับ Hotspot มือถือ เพื่อลดการใช้ข้อมูล
- Audit และลบ Wi-Fi Profile เก่าที่ไม่ได้ใช้เป็นระยะ