ความแตกต่าง: Simple Implementation vs Role-Based Security
Simple Implementation = ตั้งค่า Firewall Rule, ACL, VPN, Antivirus แบบ "ติดตั้งเสร็จ ลืมไป" หรือ ให้สิทธิ์เท่ากันทุกคน (Flat Network, Shared Admin Account) — ไม่สามารถป้องกันภัยคุกคามสมัยใหม่ได้
Role-Based Security (RBAC/ABAC + Zero Trust) = กำหนดสิทธิ์และการคุ้มครองตาม หน้าที่งาน (Job Function), บริบท (Context), และความเสี่ยง (Risk) — ปรับตัวได้ ตรวจสอบได้ ปฏิบัติตามกฎหมายได้
ทำไม Job Role จึงเป็นศูนย์กลางของ Network Security สมัยใหม่
1. Principle of Least Privilege (PoLP) ต้องการ Context
- Network Admin ต้องการ: SSH ไป Switch/Router, Access Firewall Console, Read Logs
- Developer ต้องการ: Access Dev/Test Environment, Git, CI/CD, Kubernetes Namespace
- Accountant ต้องการ: ERP, Financial Reports, Email, Web — ไม่ต้องการ SSH ไป Firewall
- Simple Implementation ให้สิทธิ์เท่ากัน → Over-privilege = Attack Surface ใหญ่
2. Lateral Movement ป้องกันไม่ได้โดย Simple Rules
โจมตีสมัยใหม่ (APT, Ransomware) ใช้ Credential ที่ขโมยมา Move Laterally ในเครือข่าย Flat Network + Shared Credential = Game Over Role-Based + Micro-segmentation = จำกัด Blast Radius
3. Compliance & Audit ต้องมี Evidence ต่อ Role
- PCI-DSS: Req 7 (Restrict Access by Business Need), Req 8 (Identify/Authenticate)
- GDPR/PDPA: Data Access ต้องมี Legal Basis และ Audit Trail ต่อ Role
- SOX: Separation of Duties (Developer ≠ Production Deployer)
- Simple Implementation ไม่มี Granularity พอสำหรับ Audit
4. Insider Threat Detection ต้องการ Baseline ต่อ Role
UEBA (User Entity Behavior Analytics) เรียนรู้ "Normal Behavior" ของแต่ละ Role:
- Developer เข้า GitLab 08:00-18:00 = Normal
- Developer เข้า Firewall Console 02:00 = Anomaly → Alert
- Simple Implementation ไม่มี Baseline → ไม่เจอ Anomaly
5. Cloud & Hybrid Environment ต้องการ Identity-Centric Security
- Perimeter ตายแล้ว (No More Castle-and-Moat)
- Identity = New Perimeter (User, Device, Workload, Service Account)
- AWS IAM Roles, Azure RBAC, GCP IAM, Kubernetes RBAC — ทั้งหมดเป็น Role-Based
- Simple Firewall Rule ไม่ครอบคลุม Cloud Identity
6. Operational Efficiency: Onboarding/Offboarding
- Role-Based: User ใหม่ → Assign Role → ได้สิทธิ์ครบถ้วนทันที
- Simple: Admin ต้อง Config Firewall, VPN, Server, App, Database ทีละระบบ → ช้า, ผิดพลาด, ลืม Revoke
Role-Based Network Security Implementation (Practical)
- Define Roles: ระบุ Job Functions ทั้งหมด (Network Admin, Sec Analyst, Dev, DBA, Helpdesk, Auditor, Vendor, Executive)
- Map Resources & Actions: รายการทรัพยากร (Network Segment, Server, App, DB, Cloud, Tool) และ Actions (Read, Write, Admin, Execute)
- Build Role-Policy Matrix: Role × Resource × Action = Allow/Deny/Condition
- Implement via Technology Stack:
- Network: NAC (802.1X), Firewall (Zone-based Policy), SD-WAN, Micro-segmentation (Cisco ACI, VMware NSX, Illumio)
- Identity: IdP (Entra ID, Okta, Ping) + RBAC/ABAC Policies
- Cloud: AWS IAM Roles, Azure RBAC, K8s RBAC
- PAM: CyberArk, BeyondTrust, HashiCorp Vault (JIT Access)
- Enforce MFA + Device Trust: Conditional Access (Location, Device Health, Risk Score)
- Continuous Monitoring: SIEM + UEBA ต่อ Role Baseline
- Quarterly Access Review: Manager Certify Role Assignments
ตัวอย่างเปรียบเทียบ
| Scenario | Simple Implementation | Role-Based (Zero Trust) |
|---|---|---|
| Developer ใหม่เข้างาน | สร้าง VPN Account, ให้ Root SSH ทุก Server | Assign "Developer" Role → ได้ Dev Namespace, Git, CI/CD, Test DB เท่านั้น |
| Network Admin ต้องการ Config Firewall | ใช้ Shared Admin Account, ไม่มี Log ใครทำอะไร | PAM: Check-out Firewall Credential (JIT), Session Record, MFA |
| Vendor ต้อง Support ระบบ | ให้ VPN Full Access ทะลุ Production | Vendor Portal: JIT Access เฉพาะ Server/Time ที่อนุมัติ, MFA, Recording |
| Credential ถูกขโมย | โจมตีเดินทะลุได้ทุกที่ (Flat Network) | Blast Radius จำกัด: Role นั้นเข้าถึงได้แค่ Subset, UEBA Detect Anomaly |
สรุป
Network Security แบบ Simple Implementation (Flat, Shared, Static) ล้าสมัยและอันตราย สมัยใหม่ต้องใช้ Identity-Centric, Role-Based, Zero Trust Architecture ที่:
- ให้สิทธิ์ตาม Job Role & Business Need (Least Privilege)
- ยืนยันตัวตนต่อเนื่องด้วย MFA + Device Trust
- จำกัดการเคลื่อนที่ด้วย Micro-segmentation
- ตรวจสอบและ Audit ได้ทุกการกระทำ
- รองรับ Cloud, Hybrid, Remote Work ได้จริง
นี่คือเหตุผลที่ Network Security ต้อง "อิงตาม Job Role" — เพราะ Security คือ Business Enabler ไม่ใช่ Blocker และ Role-Based คือวิธีเดียวที่ Balance ระหว่าง Security, Productivity, และ Compliance ได้