概要
本說明針對負責 Email DLP 初始設定與日常管理的管理員,說明加密類型設定檔案的各欄位。
透過設定檔案,您可以一次性註冊或更新 Email DLP 的設定。
關於設定檔案的建立方法及匯入步驟,請參考以下文章。
注意事項
- 本文章內容係根據 2026 年 4 月時的產品規格撰寫,未來可能會有變更,恕不另行通知。
- 實際確認畫面或變更設定時,需具備 Email DLP 管理員權限。管理員的設定方法請參考以下文章。
Email DLP 管理員權限設定 - 關於如何存取管理介面,請參考以下文章。
[Email DLP] 登入管理介面的方法
項目
- 檔案格式支援 YAML 與 JSON。
- 唯一鍵為「name」(加密類型名稱)。
- 若選擇「更新」,則與唯一鍵相關的所有資訊都會被更新。
若僅需部分修改,請於加密類型單位完整記載所需資訊。
| 欄位 | 說明 |
| version | 請指定 1。(固定值) |
| encryption_configs | 於下方指定要建立的加密類型。 |
| name | 指定加密類型的名稱。 |
| encryption_type | 指定密碼格式。 ・ fixed_password …固定密碼 ・ random_password …隨機密碼 |
| unique_password_per_recipient | 指定是否為每個收件者產生獨有的密碼。 ・ true ・ false |
| fixed_password |
指定固定密碼。 詳細資訊請參考 建立加密類型。 |
| fixed_password_format | 最多 64 字元,指定 fixed_password 的密碼範本。 |
| exclude_extensions | 指定不加密的副檔名。 |
| filename_encoding | 指定 ZIP 檔案名稱的編碼方式。 ・ cp932 …日文 ・ cp950 …繁體中文 ・ cp936 …簡體中文 ・ cp874 …泰文 ・ utf-8 … UTF-8 |
| output_filename | 指定 ZIP 檔案名稱。 ※請務必包含副檔名。 |
| notify_sender | 若要啟用寄件者通知,請指定「true」。 ※固定密碼時無法指定。 |
| notify_recipient_template_id | 啟用收件者通知時,請同時指定通知範本 ID。 |
建立範例 1
建立固定密碼 pw_"發送日",附件名稱為「report_"發送時間""時區".zip」。
YAML 格式
version: 1
encryption_configs:
- name: 固定密碼(pw_yyyymmdd)
encryption_type: fixed_password
fixed_password_format: pw_((%LOCAL-YEAR%))((%LOCAL-MONTH%))((%LOCAL-DAY%))
filename_encoding: cp932
output_filename: report_((%LOCAL-MONTH%))((%LOCAL-DAY%))((%LOCAL-HOUR%))((%LOCAL-MINUTE%))((%TIMEZONE%)).zip
JSON 格式
{
"version": 1,
"encryption_configs": [
{
"name": "固定密碼(pw_yyyymmdd)",
"encryption_type": "fixed_password",
"fixed_password_format": "pw_((%LOCAL-YEAR%))((%LOCAL-MONTH%))((%LOCAL-DAY%))",
"filename_encoding": "cp932",
"output_filename": "report_((%LOCAL-MONTH%))((%LOCAL-DAY%))((%LOCAL-HOUR%))((%LOCAL-MINUTE%))((%TIMEZONE%)).zip"
}
]
}
建立範例 2
設定為每個收件者產生獨有的隨機密碼,且 zip 與 tar 檔案不加密。
※匯入後,需於畫面上指定收件者通知的範本。
YAML 格式
version: 1
encryption_configs:
- name: 範例②
encryption_type: random_password
unique_password_per_recipient: true
filename_encoding: cp932
output_filename: ((%ORIGINAL-NAME%)) .zip
exclude_extensions:
- zip
- tar
notify_sender: true
notify_recipient: true
JSON 格式
{
"version": 1,
"encryption_configs": [
{
"name": "範例②",
"encryption_type": "random_password",
"unique_password_per_recipient": true,
"filename_encoding": "cp932",
"output_filename": "((%ORIGINAL-NAME%)) .zip",
"exclude_extensions": [
"zip",
"tar"
],
"notify_sender": true,
"notify_recipient": true
}
]
}