Các loại cảnh báo bảo mật Office phổ biến
- Message Bar: "Microsoft Office has identified a potential security concern" (vùng vàng trên cùng).
- Protected View: "Protected View - This file originated from an Internet location..." (mở file đọc chuyên dụng).
- External Content: "External data connections have been disabled".
- Macro Warning: "Macros have been disabled".
- Windows/IE Security Warning: "Open File - Security Warning - The publisher could not be verified".
Cách tắt/tùy chỉnh từng loại cảnh báo
1. Tắt Message Bar (Thanh thông báo vàng)
- File → Options → Trust Center → Trust Center Settings.
- Chọn Message Bar → chọn Never show information about blocked content.
- OK → OK.
2. Tắt Protected View (Chế độ xem bảo vệ)
- File → Options → Trust Center → Trust Center Settings → Protected View.
- Bỏ tích TẤT CẢ 3 ô:
- Enable Protected View for files originating from the Internet
- Enable Protected View for files located in potentially unsafe locations
- Enable Protected View for Outlook attachments
- OK → OK.
3. Cho phép nội dung bên ngoài (External Content) & Macro
Trong Trust Center Settings:
- External Content: chọn Enable all Data Connections (không khuyến khích).
- Macro Settings: chọn Enable all macros (rất nguy hiểm) → KHÔNG KHUYẾN NGHỊ. Nên dùng: Disable all macros with notification (mặc định) hoặc ký số macro (Digital Signature).
4. Tắt cảnh báo "Unknown Publisher" (Windows/Office)
Cách A: Group Policy (Win Pro/Enterprise)
- Win + R →
gpedit.msc User Configuration → Administrative Templates → Windows Components → Attachment Manager- Do not preserve zone information in file attachments → Enabled.
- Inclusion list for moderate risk file types → Enabled → thêm:
.exe;.bat;.reg;.vbs;.ps1;.msi.
Cách B: Registry (Win Home)
- Win + R →
regedit - Đường dẫn:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments - Tạo DWORD
SaveZoneInformation=0. - Tạo String
ModerateRiskFileTypes=.exe;.bat;.reg;.vbs;.ps1;.msi.
5. Tắt User Account Control (UAC) – Chỉ khi cực kỳ cần thiết
- Win + S → gõ "UAC" → Change User Account Control settings.
- Kéo thanh trượt xuống Never notify → OK → Yes.
- CẢNH BÁO: Giảm bảo mật hệ thống đáng kể. Chỉ dùng cho môi trường test isolated.
6. Outlook: Tắt popup bảo mật
- File → Account Settings → Account Settings.
- Chọn tài khoản → Change → bỏ tích Use Cached Exchange Mode → Next → Finish.
- Khởi động lại Outlook.
Khuyến nghị an toàn (Best Practice)
KHÔNG tắt hoàn toàn cảnh báo. Hãy làm:
- Thêm thư mục/địa chỉ tin cậy: Trust Center → Trusted Locations → Add new location (đường dẫn network share, SharePoint, OneDrive đã đồng bộ).
- Ký số Macro/VBA project bằng chứng chỉ Code Signing Certificate.
- Sử dụng Application Guard (Office 365 E5/Microsoft 365 E5) để mở file không tin cậy trong container ảo.
- Đào tạo người dùng: "Đừng bật nội dung (Enable Content) cho file từ nguồn không tin cậy".