Google Workspace

Quản trị Google Workspace: cấu hình bảo mật + DLP + Vault best

Hướng dẫn admin IT cấu hình Google Workspace theo best practice - 2SV bắt buộc, Context-Aware Access, DLP rules, Vault retention, audit log, MDM endpoint. Walkthrough chi tiết A...

Lê Thị Thu Thơm Cập nhật Đăng 11 phút đọc 9 khối lệnh

Quản trị Google Workspace: cấu hình bảo mật + DLP + Vault best
Mục lục bài viết
  1. 1. Vì sao cần best practice quản trị?
  2. 2. Bước 1: Bật 2SV (Two-Step Verification) bắt buộc
  3. 3. Bước 2: Thiết kế OU (Organizational Unit)
  4. 4. Bước 3: SPF + DKIM + DMARC
  5. 5. Bước 4: Context-Aware Access
  6. 6. Bước 5: DLP rules
  7. 7. Bước 6: Vault retention + hold
  8. 8. Bước 7: Endpoint management (MDM)
  9. 9. Bước 8: Audit log + export sang SIEM
  10. 10. Bước 9: External sharing controls
  11. 11. Bước 10: App access control + OAuth review
  12. 12. Bước 11: Email security - anti-phishing + advanced
  13. 13. Bước 12: Review + audit định kỳ
  14. 14. Yêu cầu gói GW cho mỗi tính năng
  15. 15. Dịch vụ quản trị của TND
  16. 16. Câu hỏi thường gặp

Hướng dẫn admin IT cấu hình Google Workspace theo best practice - 2SV bắt buộc, Context-Aware Access, DLP rules, Vault retention, audit log, MDM endpoint. Walkthrough chi tiết Admin Console + GAM CLI cho doanh nghiệp 50-500 user.

TL;DR

Checklist 12 bước cho admin GW: bật 2SV bắt buộc → setup OU theo phòng ban → DKIM/DMARC → Context-Aware policy → DLP rules → Vault retention → MDM endpoint → audit log export → review hàng quý. Yêu cầu tối thiểu Business Plus, lý tưởng Enterprise Standard.

1. Vì sao cần best practice quản trị?

Google Workspace là nền tảng đầy đủ feature nhưng "secure by default" chỉ ở mức cơ bản. Admin IT phải chủ động cấu hình thêm để đáp ứng các yêu cầu:

  • Tuân thủ Luật An ninh mạng + Luật 91/2025/QH15 bảo vệ dữ liệu cá nhân.
  • Đáp ứng audit ISO 27001 / SOC 2 / HIPAA khi khách enterprise yêu cầu.
  • Bảo vệ trước phishing, BEC (Business Email Compromise) - top threat 2024-2026.
  • Giảm rủi ro insider threat (nhân viên nghỉ việc copy data).
  • Đáp ứng yêu cầu lưu trữ dài hạn cho ngành luật, tài chính, healthcare.

Bài này là checklist 12 bước được TND áp dụng khi onboard khách hàng GW Plus/Enterprise. Mỗi bước có hướng dẫn cụ thể qua Admin Console + tham khảo GAM CLI cho admin power user.

2. Bước 1: Bật 2SV (Two-Step Verification) bắt buộc

2.1. Vì sao quan trọng?

87% account takeover bắt nguồn từ password leak (data breach trên web khác, phishing, brute force). 2SV ngăn 99% các vụ này.

2.2. Cấu hình

  • Admin Console → Security → Authentication → 2-Step Verification.
  • Enforcement: chọn "On (with grace period 14 days)" cho first rollout.
  • Sau 14 ngày, chuyển sang "On (no grace period)".
  • Cho phép methods: Google Prompt, Security Key, Authenticator app. Tránh SMS (sim swap risk).
  • Exception: chỉ admin super có thể bypass - yêu cầu hardware security key (FIDO2).
Terminal2. Bước 1: Bật 2SV (Two-Step Verification) bắt buộcbash
# GAM CLI: enforce 2SV cho toàn tenantgam update org "/" enforce_two_factor ongam update org "/" two_factor_method any_except_verification_codes_via_text

3. Bước 2: Thiết kế OU (Organizational Unit)

3.1. Cấu trúc khuyến nghị

Code3. Bước 2: Thiết kế OU (Organizational Unit)text
/ (root)├── Executive/│   ├── CEO│   └── C-Level├── Engineering/│   ├── Backend│   ├── Frontend│   └── DevOps├── Finance/│   ├── Accounting│   └── Treasury├── Sales/├── Marketing/├── HR/├── Operations/└── External/    ├── Contractors    └── Interns

3.2. Vì sao OU quan trọng?

Policy (DLP, Context-Aware, Vault retention, app restriction) áp dụng theo OU. Cấu trúc OU tốt cho phép policy granular: ví dụ "Finance" cấm share Drive ra ngoài, "Sales" cho phép.

Terminal3. Bước 2: Thiết kế OU (Organizational Unit)bash
# GAM: tạo OUgam create org "Finance" description "Finance team"gam create org "Finance/Accounting" description "Accounting subteam" # Move user vào OUgam update user [email protected] org "Finance/Accounting"

4. Bước 3: SPF + DKIM + DMARC

4.1. SPF

Terminal4. Bước 3: SPF + DKIM + DMARCbash
; SPF@ IN TXT "v=spf1 include:_spf.google.com ~all"

4.2. DKIM

  1. Admin Console → Apps → Google Workspace → Gmail → Authenticate email.
  2. Generate new record (chọn 2048-bit key).
  3. Add TXT record vào DNS: google._domainkey IN TXT "v=DKIM1; k=rsa; p=..."
  4. Wait 48h → click Start authentication.

4.3. DMARC

Bắt đầu với policy none để monitor, sau 30 ngày chuyển sang quarantine, sau 60 ngày chuyển reject.

Terminal4. Bước 3: SPF + DKIM + DMARCbash
; Phase 1 (monitor)_dmarc IN TXT "v=DMARC1; p=none; rua=mailto:[email protected]; pct=100" ; Phase 2 (enforce quarantine)_dmarc IN TXT "v=DMARC1; p=quarantine; rua=mailto:[email protected]; pct=100; aspf=s; adkim=s" ; Phase 3 (full enforce)_dmarc IN TXT "v=DMARC1; p=reject; rua=mailto:[email protected]; pct=100"

5. Bước 4: Context-Aware Access

5.1. Tạo Access Level

Admin Console → Security → Context-Aware Access → Create access level.

Terminal5. Bước 4: Context-Aware Accessbash
Name: VN_TrustedDevice_BusinessHoursConditions:  - device.os = "Mac OS" OR "Windows" OR "iOS" OR "Android"  - device.is_admin_approved_device = true  - device.is_encrypted = true  - origin.country_code IN ["VN", "SG"]  - request.time IN "07:00-22:00" (Asia/Bangkok)  - device.os_version >= "..."Result: ALLOW

5.2. Assign level cho service

  • Apply level cho Gmail (OU=/Executive, /Finance).
  • Drive: apply level cho /Engineering (sensitive code).
  • Admin Console access: chỉ admin OU với US/VN + security key.

5.3. Monitor + adjust

Sau 2 tuần, review Audit log → tìm legitimate denied requests → relax rule nếu cần. Common: nhân viên đi công tác Singapore không thuộc VN whitelist → mở rộng country code list.

6. Bước 5: DLP rules

6.1. DLP cho Drive

  • Admin Console → Security → Data Protection → Add rule.
  • Apply to: All users OR specific OU.
  • Trigger: Drive sharing.
  • Detector: predefined (Vietnam CCCD, credit card, IBAN) hoặc custom regex.
  • Action: WARN_USER hoặc BLOCK hoặc QUARANTINE.

6.2. DLP cho Gmail

File cấu hình6. Bước 5: DLP rulesyaml
Rule: Block_Outbound_CCCDTrigger: Email outboundDetector: vietnam_cccd_12digitCondition: recipient_domain NOT IN ["congty.com", "partner1.com"]Action: BLOCK + notify admin@

6.3. DLP cho Chat

Chat (Google Chat) cũng hỗ trợ DLP từ 2024. Detect và block sharing CCCD/credit card trong chat realtime.

6.4. Custom detector cho mã nội bộ

Terminal6. Bước 5: DLP rulesbash
Custom detector: Internal_Contract_CodeRegex: bCT-d{8}bLikelihood: VERY_LIKELYMin matching: 1

DLP chỉ có ở Enterprise Standard trở lên. Doanh nghiệp Business Plus cần upgrade Enterprise. Xem chi tiết: khi nào lên Enterprise.

7. Bước 6: Vault retention + hold

7.1. Retention rules

Loại dataRetentionOU áp dụng
Gmail Executive10 năm/Executive
Gmail Finance10 năm (theo Luật Kế toán)/Finance
Gmail General5 năm/ (root, exclude Executive + Finance)
Drive Project Documents10 nămShared Drive "Legal-Contracts"
Chat3 nămAll
Meet recording1 nămAll

7.2. Hold cho vụ việc cụ thể

Khi có vụ kiện hoặc audit, tạo hold theo user/email/date range. User không xoá được data trong hold cho đến khi release.

7.3. eDiscovery export

Search xuyên Gmail + Drive + Chat → export EML/PST/MBOX. Phù hợp khi cần submit cho luật sư hoặc cơ quan điều tra.

Vault chỉ có ở Business Plus, Enterprise Standard, Enterprise Plus. Đọc thêm: compliance cho luật tài chính.

8. Bước 7: Endpoint management (MDM)

8.1. Bật advanced management

  • Admin Console → Devices → Mobile & endpoints → Settings → Universal settings → bật Advanced.
  • Apply theo OU.

8.2. Policy khuyến nghị

  • Password: min 8 ký tự, mixed case + number, change every 90 ngày.
  • Encryption: bắt buộc bật trên device.
  • Auto-lock: 5 phút idle.
  • Jailbreak/root: block.
  • OS version: tối thiểu iOS 17+ / Android 13+.
  • App management: chỉ cài app từ allowlist.
  • Work profile: bật cho Android (tách data công ty/cá nhân).
  • Wipe remote: enable cho admin trigger từ Console.

8.3. Off-boarding flow

  1. HR notify IT: nhân viên nghỉ ngày X.
  2. IT suspend account (giữ data 30 ngày).
  3. IT trigger wipe device - tất cả data GW xoá khỏi điện thoại trong 10 phút.
  4. IT transfer Drive ownership sang manager.
  5. IT export email qua Vault.
  6. Sau 30 ngày, xoá account hoàn toàn.

9. Bước 8: Audit log + export sang SIEM

9.1. Loại log

  • Login activity (success/fail, IP, geo, user-agent).
  • Admin activity (cấu hình change).
  • Drive activity (upload, download, share, delete, view).
  • Gmail activity (gửi external, forward, filter create).
  • Calendar, Chat, Meet, Groups.
  • DLP triggers, Context-Aware denials.

9.2. Export sang BigQuery

Enterprise hỗ trợ Cloud Audit Logs export realtime sang BigQuery - từ đó stream sang Splunk, ELK, Microsoft Sentinel, Datadog.

Terminal9. Bước 8: Audit log + export sang SIEMbash
# Setup BigQuery exportgam config csv_output_header_filter "*" >gam update workspace audit log_export_target bigquery_project=PROJECT_ID dataset=workspace_audit_logs

9.3. Alert quan trọng

  • Login từ country không trong whitelist.
  • Mass download Drive (> 100 files trong 1 giờ).
  • Admin change critical setting (2SV disable, DLP rule modify).
  • Suspicious filter create (auto-forward to external).
  • Account access from new device → require re-verification.

10. Bước 9: External sharing controls

10.1. Drive sharing

  • Admin Console → Apps → Drive & Docs → Sharing settings.
  • Apply theo OU:
    • /Finance: chỉ share trong domain.
    • /Sales: cho phép share external với warning.
    • /External: không cho phép tạo shared link.
  • Default access for new files: Restricted (recommend).
  • Block download/copy/print cho file label CONFIDENTIAL.

10.2. Calendar sharing

  • Free/busy only cho external - không share event detail.
  • Block secondary calendar share with public.

10.3. Gmail forwarding

  • Disable automatic email forwarding cho non-admin user.
  • Allow forwarding chỉ trong domain hoặc allowlist domain.

11. Bước 10: App access control + OAuth review

11.1. Block risky OAuth apps

User thường grant OAuth cho random app trên web (online tool đọc Gmail/Drive). Rủi ro: app malicious đọc toàn bộ data.

  • Admin Console → Security → API controls → Manage Third Party App Access.
  • Set default: "Restricted" → user chỉ grant app trong allowlist admin approve.
  • Review app list quarterly, revoke unused.

11.2. Google Marketplace allowlist

Chỉ cho phép cài app từ Marketplace official + đã pass security review.

12. Bước 11: Email security - anti-phishing + advanced

12.1. Advanced phishing protection

  • Admin Console → Apps → Gmail → Safety.
  • Bật: Identify and protect against spoofing of employee names.
  • Bật: Protect against domain spoofing based on similar domain names.
  • Bật: Protect against unauthenticated emails.
  • Action: Move to spam hoặc quarantine for admin review.

12.2. Attachment scanning

  • Bật: Scan attachments for malware (default).
  • Bật: Sandbox suspicious attachments before delivery (Enterprise).

12.3. Banner cho external email

Hiển thị banner "External sender" trên mọi email từ ngoài domain - giúp user nhận biết phishing attempt.

13. Bước 12: Review + audit định kỳ

13.1. Quarterly review

  • User list: xoá account nhân viên đã nghỉ.
  • OAuth app: revoke unused.
  • Shared Drive permission: review external users.
  • DLP triggers: tinh chỉnh false positive.
  • Context-Aware denials: relax rule nếu legitimate.
  • Audit log anomaly: report exec.

13.2. Annual security audit

  • Penetration test với firm bên ngoài.
  • ISO 27001 / SOC 2 compliance audit (nếu cần).
  • Re-train toàn bộ nhân viên về security awareness.

"Sau khi follow checklist này từ TND, công ty 120 user của chúng tôi pass audit ISO 27001 lần đầu tiên. Quan trọng nhất là DLP block 23 vụ rò rỉ CCCD trong 6 tháng đầu - đáng tiền đầu tư Enterprise Standard. Hoá đơn VAT điện tử đầy đủ."

14. Yêu cầu gói GW cho mỗi tính năng

Tính năngGói tối thiểu
2SV bắt buộcTất cả gói (kể cả Starter)
OU + admin consoleTất cả
SPF/DKIM/DMARCTất cả
Context-Aware AccessEnterprise Standard
DLP cho Drive + GmailEnterprise Standard
VaultBusiness Plus
Advanced endpoint MDMBusiness Plus
S/MIMEEnterprise Standard
Audit log export BigQueryEnterprise Standard
Advanced phishing/sandboxEnterprise Standard

Doanh nghiệp 100+ user cần security đầy đủ → Enterprise Standard tối thiểu. Đọc thêm: khi nào lên Enterprise.

15. Dịch vụ quản trị của TND

  • Gói Setup Pro: TND triển khai 12 bước checklist + đào tạo IT 1 ngày + handover doc. 1 lần.
  • Gói Managed Service: TND quản trị hộ - user lifecycle, policy update, monthly audit report. Theo subscription.
  • Gói Audit + Compliance: TND audit hiện trạng + recommend fix + hỗ trợ pass ISO 27001 / SOC 2.

Tất cả gói đều kèm hoá đơn VAT điện tử đầy đủ cho phần dịch vụ.

16. Câu hỏi thường gặp

16.1. Admin console có hỗ trợ multi-admin không?

Có. Tạo các vai trò: Super Admin, User Management Admin, Help Desk Admin, Service Admin với quyền granular.

16.2. GAM CLI có an toàn không?

GAM là third-party tool open-source, được Google community trust. Tạo OAuth riêng cho GAM, store credential local an toàn. Sử dụng cho automation script và bulk operations.

16.3. Có template policy mẫu không?

Có. TND cung cấp template cho khách hàng: DLP rules theo ngành (luật, tài chính, healthcare), Context-Aware policy mẫu, Vault retention chuẩn Việt Nam.

16.4. Hoá đơn cho dịch vụ quản trị?

Hoá đơn VAT điện tử đầy đủ cho cả license year và phí dịch vụ quản trị/audit/đào tạo. MST TND: 0200994870.

Đọc thêm: khi nào lên Enterprise, compliance cho luật tài chính, migration Gmail/Yahoo lên GW, GW vs M365. Mua đi kèm: business hosting + cloudphone.

Chia sẻ:Facebook

Lê Thị Thu Thơm

TND

Lê Thị Thu Thơm là Trưởng phòng Kinh doanh tại CÔNG TY TNHH TM NGUYỄN NGỌC THANH (TND) - nhà cung cấp phần mềm bản quyền chính hãng cho doanh nghiệp Việt Nam từ 2009. Chị tư vấn license Microsoft, Adobe và các giải pháp bản quyền kèm hóa đơn VAT, hợp đồng đầy đủ cho hàng trăm doanh nghiệp SMB và lớn trên toàn quốc.