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

วิธีเปลี่ยนการเข้าถึงเครือข่ายสำหรับโปรแกรมใน Windows Firewall

อนุญาตให้โปรแกรมเข้าถึงเครือข่ายส่วนตัว (Private Network)

  1. Windows Security > Firewall & network protection > Allow an app through firewall
  2. Change settings > Allow another app
  3. เลือกโปรแกรม > Network types: เลือก Private (หรือ Public/All)
  4. Add > OK

เปลี่ยนสิทธิ์ของโปรแกรม (App Permissions) ใน Windows 10

  1. Settings > Apps > Apps & features
  2. เลือก App > Advanced options
  3. App Permissions: Toggle On/Off สิทธิ์ต่างๆ (Location, Camera, Microphone, etc.)

อนุญาตโปรแกรมผ่าน Firewall (Windows Firewall)

  1. Start > ค้นหา "Windows Firewall" > เปิด
  2. Allow a program or feature through Windows Firewall
  3. Change settings > ติ๊กโปรแกรมที่ต้องการ > เลือก Network types (Private/Public)
  4. OK (อาจต้อง Yes/UAC)

เปลี่ยนการตั้งค่าโปรแกรมใน Windows Firewall

  1. Settings > Update & Security > Windows Security > Firewall & network protection
  2. เลือก Network Profile (Domain/Private/Public)
  3. Windows Defender Firewall: On/Off

เปลี่ยน App Permissions ใน Windows 10 (Privacy)

  1. Settings > Privacy
  2. เลือกหมวดหมู่ (เช่น Calendar) > Toggle On/Off สำหรับ App เฉพาะ
  3. หรือ Settings > Apps > Apps & features > Advanced options > App Permissions

อนุญาต App ใช้ Private Network

เหมือนขั้นตอนแรก: Allow another app > เลือก App > Network types: Private > Add

อนุญาตโปรแกรมเข้าถึงเครือข่าย (Control Panel แบบเก่า)

  1. Control Panel > System and Security > Windows Firewall > Allow a program
  2. ติ๊กโปรแกรม > เลือก 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 ซ้ำๆ

  1. Security & Maintenance > Security > Windows SmartScreen
  2. 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 (สรุป)

  1. Start > "firewall" > Windows Defender Firewall
  2. Allow an app or feature through Windows Firewall
  3. Change settings > ติ๊ก App > Private/Public > OK

เปลี่ยน Firewall Settings

  1. Control Panel > Windows Firewall
  2. General: On / Block all incoming / Off
  3. Exceptions: เลือกโปรแกรมที่ไม่ต้องการป้องกัน

เปิด Firewall Configuration View

Start > Search "firewall" > Windows Defender Firewall หรือ Control Panel > System and Security > Windows Defender Firewall (Win Key + R > firewall.cpl)