This document describes the steps to block .TXT file upload in Cisco Secure Access with DLP.
Cisco recommends that you have knowledge of these topics:
Cisco recommends that you have:
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
| Category |
Steps |
Step 1. Create Data Classification |
Step 1.1. From the Cisco Secure Access management portal, navigate to Secure > Data Classification and click the Add Custom Identifier.
Step 1.2. Define a name for the new Identifier Step 1.3. From the Threshold section configure Severity Criteria and click Add. Step 1.4. Define each Regular Expressions separately and click Add.
Step 1.5. Click Save. Step 1.6. Click the Add icon to create a new Data Classification
Step 1.7. Define a Name. Step 1.8. From Include Data Identifiers section click on Custom Identifier and choose the Identifier(s) that you created in previous steps.
Step 1.9. Click Save. |
Step 2. Configure the DLP Policy |
Step 2.1. From the Cisco Secure Access management portal, navigate to Secure > Data Loss Prevention Policy Step 2.2. Click Add Rule and select Real Time Rule.
Step 2.3. Define the Policy Name. Step 2.4. From the Data Classifications section, select the Data Classification that you created on Step 1. Step 2.5. From the Files Control section, enable the File Type and select TXT.
Step 2.6. From the Action section, choose Block.
Step 2.7. Save the changes. |
To check DLP activity and related logs, go to Monitor > Data Loss Prevention. Use the available filters to narrow the results and identify the relevant DLP events.
Matches Japanese Hiragana, Katakana, and Kanji characters:
[ぁ-ゖァ-ヺ一-龯]{1,}
Matches uppercase Latin letters:
[A-Z]{1,}
Matches lowercase Latin letters and digits:
[a-z0-9]{1,}
Matches common punctuation characters:
[.,;:!?]
Matches single quotes, double quotes, and backticks:
['"`]
Matches parentheses, square brackets, and curly brackets:
[()\[\]{}]
Matches common symbols and special characters:
[@#$%^&*+=|\\/_~-]
Matches Latin characters in the À-ÿ Unicode range:
[À-ÿ]
Matches Cyrillic characters:
[Ѐ-ӿ]
Matches Greek and Coptic characters:
[Ͱ-Ͽ]
Matches Arabic-script characters:
[-ۿ]
Matches CJK Unified Ideographs:
[㐀-䶿]
Matches selected Polish characters with diacritics:
[ĄąĆćĘꣳŃńÓóŚśŹźŻż]
Matches Korean Hangul syllables:
[가-힣]
Cisco Secure Access complete list of DLP-supported file types: https://securitydocs.cisco.com/docs/csa/olh/120218.dita
Cisco Secure Access DLP-supported file types — Cisco Community: https://community.cisco.com/t5/security-knowledge-base/cisco-secure-access-complete-list-of-dlp-supported-file-types/ta-p/5274268
Cisco Secure Access DLP configuration and policy reference: https://securitydocs.cisco.com/docs/csa/olh/161419.dita
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
15-Sep-2026
|
Initial Release |