อนุญาตให้โปรแกรมเข้าถึงเครือข่ายส่วนตัว (Private Network)
- Windows Security > Firewall & network protection > Allow an app through firewall
- Change settings > Allow another app
- เลือกโปรแกรม > Network types: เลือก Private (หรือ Public/All)
- Add > OK
เปลี่ยนสิทธิ์ของโปรแกรม (App Permissions) ใน Windows 10
- Settings > Apps > Apps & features
- เลือก App > Advanced options
- App Permissions: Toggle On/Off สิทธิ์ต่างๆ (Location, Camera, Microphone, etc.)
อนุญาตโปรแกรมผ่าน Firewall (Windows Firewall)
- Start > ค้นหา "Windows Firewall" > เปิด
- Allow a program or feature through Windows Firewall
- Change settings > ติ๊กโปรแกรมที่ต้องการ > เลือก Network types (Private/Public)
- OK (อาจต้อง Yes/UAC)
เปลี่ยนการตั้งค่าโปรแกรมใน Windows Firewall
- Settings > Update & Security > Windows Security > Firewall & network protection
- เลือก Network Profile (Domain/Private/Public)
- Windows Defender Firewall: On/Off
เปลี่ยน App Permissions ใน Windows 10 (Privacy)
- Settings > Privacy
- เลือกหมวดหมู่ (เช่น Calendar) > Toggle On/Off สำหรับ App เฉพาะ
- หรือ Settings > Apps > Apps & features > Advanced options > App Permissions
อนุญาต App ใช้ Private Network
เหมือนขั้นตอนแรก: Allow another app > เลือก App > Network types: Private > Add
อนุญาตโปรแกรมเข้าถึงเครือข่าย (Control Panel แบบเก่า)
- Control Panel > System and Security > Windows Firewall > Allow a program
- ติ๊กโปรแกรม > เลือก Network types (Home/Work/Public)
ความเสี่ยงของการอนุญาตโปรแกรมผ่าน Firewall
เหมือนเจาะรูใน Firewall (Unblocking) ทุก Port ที่เปิดและโปรแกรมที่ผ่าน = ลดความปลอดภัยลง
ความเสี่ยงของการอนุญาต App ผ่าน Firewall
ช่องทางเปิดมากขึ้น = แฮกเกอร์/มัลแวร์ เข้าถึงไฟล์หรือแพร่กระจายง่ายขึ้น แนะนำ: Add App ให้เฉพาะเจาะจง ดีกว่า Open Port ทั่วไป
เปลี่ยน Program Permissions ใน Windows 10 (Privacy Page)
Settings > Privacy > เลือก App (เช่น Calendar) > Toggle Permissions On/Off
คืนค่า Permissions เป็นค่าเริ่มต้น (Default)
Command Prompt (Admin): icacls "full path to file" /reset หรือ icacls "folder path" /reset
หยุดโปรแกรมขอสิทธิ์ Administrator ซ้ำๆ
- Security & Maintenance > Security > Windows SmartScreen
- Change settings (ต้อง Admin Rights)
ควรอนุญาตอะไรผ่าน Firewall?
Browser (Edge, Chrome, Firefox, IE) และ Port 80, 443 (HTTP/HTTPS) ควรอนุญาต ขึ้นอยู่กับ Network Profile (Private/Public)
อนุญาตโปรแกรมผ่าน Firewall โดยไม่ต้อง Admin Rights
Services.msc > Windows Firewall > Stop (แต่ต้อง Admin จึงจะหยุด Service ได้ ไม่แนะนำให้ปิด Firewall)
อนุญาตโปรแกรมผ่าน Firewall Windows 10 (สรุป)
- Start > "firewall" > Windows Defender Firewall
- Allow an app or feature through Windows Firewall
- Change settings > ติ๊ก App > Private/Public > OK
เปลี่ยน Firewall Settings
- Control Panel > Windows Firewall
- General: On / Block all incoming / Off
- Exceptions: เลือกโปรแกรมที่ไม่ต้องการป้องกัน
เปิด Firewall Configuration View
Start > Search "firewall" > Windows Defender Firewall หรือ Control Panel > System and Security > Windows Defender Firewall (Win Key + R > firewall.cpl)