# File security policy

Canonical: https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/policy/

Language: en-US

Updated: 2026-11-29T10:00:18.572841Z

In Ping64, file security rules control file transfers that meet specified conditions. Administrators can combine file type, size, sensitive conditions and leakage routes, then choose a primary and additional actions. Coverage depends on endpoint platform, policy, licensing and client status; one rule does not provide universal protection for every file and channel.

**On This Page**

-   [Before Configuration](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/policy/#before-configuration)
-   [Create or Edit a Policy](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/policy/#create-or-edit-a-policy)
-   [Set Rule Conditions](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/policy/#set-rule-conditions)
-   [Choose Actions and Verify](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/policy/#choose-actions-and-verify)
-   [Request and verify outbound file approval](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/policy/#request-and-verify-outbound-file-approval)
-   [Troubleshooting](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/policy/#troubleshooting)

## Before Configuration

1.  Use an account authorized to manage Data Loss Prevention policies. Confirm that target endpoints are enrolled and appropriately licensed.
2.  Identify pilot endpoints, file types, transfer routes and expected outcomes. Prepare non-sensitive test files before expanding the scope to avoid disrupting business activity.
3.  First check existing applicable sensitive-content, risk-review, backup, and approval integrations. Reuse suitable settings without recreating or saving them again. Follow the instructions below only when creating or changing them: Prepare any required sensitive-content conditions, risk review, backup or other integrations and verify licensing. For file outbound approval, first prepare an applicable approval template and approvers. In the file security settings, open **Advanced Settings**, enable approval, select the workflow and set its validity period. Save the settings and the whole policy, wait for endpoint application, and separately test the request, approval and actual transfer with controlled samples. Risk-review templates are not outbound approvals; verify each endpoint and transfer scenario. Follow organizational handling and retention requirements for backups, screenshots and other evidence.

**Editing existing approval settings:** Wait for the approval-flow list to load and compare all selected flows with the recorded configuration before the change. If an existing flow name cannot be displayed or is absent from the available list, changing the available selections may remove an existing choice. Do not confirm or save; cancel the change and check templates, permissions, and loading. Contact an administrator or support if needed. After a change is saved, reopen the policy to verify it and test with a controlled request.

## Create or Edit a Policy

When a new data loss prevention policy is created, this feature's switch is initially off. For an existing policy, check its saved state.

1.  Switch to **DLP** in the console, open policies and create or edit the target policy.
2.  In general settings, review the policy name, effective time and endpoint, endpoint-group or tag scope. Check applicable online and offline conditions for the business need and start with a small pilot.
3.  Enable **File Security** in policy settings and select **Configure** to open **Configure File Security Policy**. An enabled feature requires rules; an empty rule set is not a complete configuration.
4.  Select **Add rule**, enter a name and configure the conditions and actions below. Save the File Security settings, then save the entire policy.
5.  Verify policy status and scope in the list. Wait for target endpoints to receive and apply the policy before testing; a successful console save does not mean every endpoint has applied it.

**Windows sensitive-content matching scope:** When a file security rule uses a sensitivity level or rule, file content must be extracted for matching. For files processed as plain text, only the first 10 MiB is extracted when the file is larger; do not assume later content was checked or rely on this condition alone to block every outbound transfer. Documents such as PDFs and presentations use a different extraction path: do not apply the plain-text limit to them or infer extraction success from the extension alone. Use approved non-sensitive samples to test rule matches, transfer outcomes and records separately for the file types, sizes, content positions and transfer channels used in your organization. Verify other platforms and applications separately. See [Sensitive Content Scan Policy](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/sensitive-scan/policy/) for related scanning limits.

On some Windows endpoints, when a file enters document-content extraction and the input being processed exceeds 100 MiB, that extraction may fail. Do not apply the plain-text rule of processing only the first 10 MiB to this path. No match or record does not prove the file was fully checked. Pilot with non-sensitive samples of the business file types and sizes, and use other organization-approved checks when coverage cannot be confirmed.

When some Windows endpoints process an `XLSX` file, formula cells may use calculation results saved in the file; extraction does not recalculate them. If saved results are missing or outdated, matched content may differ from the current calculated result. No match does not prove the file is safe. Verify with approved non-sensitive samples and follow organizational procedures for files whose coverage is uncertain. Do not alter originals or enable untrusted content merely for testing. Content in hidden worksheets or hidden rows may also be matched. Hiding content does not exclude it, but it does not prove that the content was fully checked either.

Plain-text encoding detection depends on the beginning of the file; mixed encodings, invalid characters, or unreadable content may affect matching. Test with approved, non-sensitive samples using the encodings of actual business files, and do not treat a lack of matches as proof that content is safe.

## Set Rule Conditions

Use a name that identifies the purpose. Conditions can be unrestricted or limited as appropriate; when a specific scope is selected, complete its required choices or values.

| Condition | Configuration considerations |
| --- | --- |
| File type | Leave unrestricted or select specific types; enhanced recognition is also offered. Specific types require a selection. |
| File Size | Leave unrestricted or enter a valid specific size range. |
| Sensitive content | Select specific sensitivity levels or rules when needed; a specific condition requires the corresponding selection. |
| Leakage route | Leave unrestricted or select specific routes; select at least one when using a specific scope. |

**Combined conditions and size boundaries:** In some Windows file-security scenarios, the enabled file-type, size, sensitive-content and transfer-channel conditions must all match. If any condition does not match, that rule does not match, but other rules or controls may still apply. Both the lower and upper bounds of a specified file-size range are inclusive. Read failures or other file-access problems may affect evaluation; a nonmatch alone does not establish that a file is safe. Test separately with non-sensitive samples that match and do not match each condition, including sizes inside and outside the boundaries.

**Select sensitivity levels:** When specifying sensitivity levels, open the level selector and choose one or more applicable levels. At least one level must remain selected to confirm. A `+count` indicator means that some selected levels are collapsed, not unselected; open the list to check the complete selection. If you change the sensitive-content condition while editing the same rule, the previous level selection may be retained. Check and adjust it when switching back rather than assuming it was cleared. Confirming the levels updates only the current rule draft. Save the file security settings and the entire policy, then verify matching on pilot endpoints.

**Specified file-size range:** Enter both the lower and upper bounds and check their respective units. Do not treat a blank as an unlimited bound: page validation may compare an empty input as `0`. Changing a unit does not convert the entered number; for example, changing `1 MB` to `KB` without changing the number means `1 KB`. Confirm that the lower bound does not exceed the upper bound, save each settings window and the entire policy, then test with non-sensitive files inside, outside and near the boundaries. If no size condition is needed, choose the unrestricted option instead of leaving a value blank.

Check whether conditions cover the intended files and transfer methods. Do not assume a file or route that does not meet the conditions will match. One successful test does not prove equivalent coverage across all applications and platforms.

When configuring multiple rules, drag them in the file-security rule list to adjust their order. Review each rule’s conditions and actions, then save both the file-security settings and the entire policy. In some Windows file-security detection scenarios, the endpoint evaluates rules in order and uses the primary and additional actions of the first complete match; actions from later matching rules are not combined.

For example, a first rule covers all files on a transfer channel and selects “No Action”, while a second rule covers selected files on the same channel and selects “Block”. A file matching the first rule may not be blocked by the second. Assess business impact before changing order or conditions. Approval exceptions, other policies, endpoints and application paths can also affect the actual result. After saving, wait for the pilot endpoint to apply the policy; use non-sensitive samples to test overlapping, non-overlapping and approval cases separately, and check actual transfers and records. Verify other platforms separately.

Use the action menu beside a rule to duplicate or delete it. A duplicate retains the original conditions and actions, which may include blocking, alerts, backup, and risk review. Before using it, change the name and check its conditions, actions, and template. Assess the protection impact before deleting a rule. After copying or deleting, review the entire rule list, save the file security settings and the whole policy, then wait for endpoints to apply it and verify the expected result with controlled samples.

## Choose Actions and Verify

Primary actions include **No Action** and **Block**. **No Action** does not block a transfer through this rule's primary action; **Block** is intended to stop a matching transfer. Additional actions may include audit, alerts, backup, OCR, image search, screenshots or risk assessment. Availability and combinations depend on licensing and conditions; selecting risk assessment requires a template.

For example, in a small pilot, select specific file types and a transfer route, choose **Block**, and add **Audit** if required. Save and wait for the endpoint to apply the policy, then attempt that transfer with a non-sensitive test file. Check whether it is blocked and inspect the relevant record; use a non-matching sample to test the boundary. This example is not a default policy.

Selecting an action in the console does not prove the endpoint executed it or that a record, backup or other result was produced. Verify each result and distinguish primary from additional actions.

In a file-security rule, selecting **Alert** or **Risk Review** also selects **Audit**. Selecting **Backup** also selects **Audit**, while OCR or image search also selects **Backup**. Clearing **Audit** removes these dependent actions. Recheck the actions and evidence scope before saving; endpoint execution, reporting, and alert generation still require separate verification. To review alerts, open **DLP > Alerts**, filter by date, endpoint, and type, and open available details.

Deselecting backup also removes OCR and image search actions that depend on it. When editing an existing rule, the page may remove previously selected OCR and image search if the relevant data-intelligence entitlement is unavailable; those actions may no longer be retained after saving. Confirm the entitlement and business impact with an administrator before changing the rule, check actions and scope before and after saving, and verify actual behavior on pilot endpoints.

## Request and verify outbound file approval

The following example uses Windows endpoints. First check the file security rules, outbound approval switch, applicable workflows, and validity period received by the pilot endpoint; reuse them if suitable. When changes are needed, an authorized administrator assesses their impact and configures them, then waits for policy application before testing. This exception belongs to file security policy and is configured separately from encrypted-file outbound approval and risk review; they are not interchangeable.

**Stages and checks:** These are illustrative stages, not fixed status labels in the interface.

| Stage | What to check |
| --- | --- |
| Policy saved | Wait for the target endpoint to receive it and verify the effect; saving does not prove enforcement. |
| Request submitted | Track approval; submitting is not approval. |
| Entire workflow approved | Check the valid time and wait for the endpoint to apply the authorization; approval does not mean the file was transmitted. |
| Authorization active on endpoint | Within the valid time, check the file and recipient, repeat the original operation, and verify the result. |
| After transmission | Verify the actual outcome in the destination application and available records; an alert alone does not prove delivery. |

1.  Attempt a controlled transfer using a non-sensitive test file. If file security blocks the operation and the notice offers **Request Transfer**, select it. The entry depends on the approval settings and on the notice containing files.
    
2.  Check the files and available approval workflows in the request window, complete the requested information, and submit. A request cannot contain files with the same name, ignoring case; submit them separately. Submission is not approval and does not mean that the transfer has completed.
    
    **Requested validity:** If the policy specifies a fixed duration, it is displayed in the request and cannot be changed. A self-entered relative duration must be a positive number of minutes or hours. For a specified time range, the start must be later than the current time and the end later than the start. A relative duration starts when the entire approval process is approved, not when the notice is received or the transfer is retried; a delayed result may leave less time or arrive after expiry. A specified range can also expire before approval completes, so allow time for processing.
    
3.  Have the approver process the request under your organization's procedure. After the result takes effect on the requesting endpoint, retry the original transfer within the validity period and verify the actual outcome. Approval does not automatically send the file.
    

**Process a request:** In the current console, approving from the detail page or a list shortcut submits immediately without another explanation or confirmation dialog; check the request before clicking. An authorized approver can open a pending outbound file request in the Data Loss Prevention approval list without reconfiguring the policy for each request. Check the requester, endpoint, available file names and paths, and the post-approval validity period shown in the details. Contact the requester first if information is missing or inconsistent. Approve or reject according to organizational requirements and your permissions at the current step, then check the status of the entire workflow. Approval of one step does not mean the workflow is complete, the authorization is effective on the endpoint, or the file has been transferred.

**Third-party approval page:** Where the corresponding approval page is deployed, a requested file represented only by a fingerprint cannot be downloaded or previewed there. A displayed name, path, or fingerprint does not mean the approver has reviewed its contents. Download and preview of other files still depend on availability, permissions, format, and other conditions. Some protected encrypted files may not be previewable directly; do not remove protection without authorization or transfer them through an unsafe channel. If a full review is required, confirm the content separately with the requester through an approved channel; page availability also depends on deployment and account binding.

Authorization applies to the requesting endpoint and requested files. The endpoint checks file path, size and modification time; moving, replacing or modifying a file can prevent a match. Authorization also stops being usable when its validity period ends, approval is disabled in the policy, or the workflow is removed from the policy. If authorization is not effective, check the endpoint policy, workflow and validity period; submit a new request if transfer is still required. Test each relevant application and transfer channel separately; other restrictions may still affect the transfer.

**Scope of an approval:** In some Windows file-security scenarios, do not assume that one approval permits only a single transfer or restricts it to a specified recipient. Before requesting or using approval, check the file, recipient and transfer channel under your organization’s requirements and apply other relevant controls. After approval takes effect, still verify the actual transfer and associated records. Test different applications and other platforms separately.

In some Windows file-security scenarios, an approved transfer may be allowed, while subsequent record processing may still match a rule and generate an alert. An alert does not necessarily mean the transfer was blocked or prove that the file reached its recipient. Check the approval status, actual transfer result and [file security alerts](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/alerts/) together; verify each application and platform separately.

**Verify file content after approval:** In some Windows file-security scenarios, an authorization match alone does not prove that the content being sent is identical to the content reviewed for approval. Protect files awaiting transfer according to your organization’s requirements, and verify the actual content and recipients through approved means before sending. If content changes, review it again under the organization’s process and submit a new request when required; do not rely on the authorization automatically becoming invalid.

## Troubleshooting

-   **Cannot save:** Check that a complete rule exists and that selected file types, size, sensitive conditions, routes and risk-assessment template are filled in as required.
    
-   **Rule does not match:** Check endpoint scope, policy receipt and effective time, then review file conditions, transfer route and client status.
    
-   **Action differs from expectations:** Distinguish primary and additional actions, check licensing, integration, platform and the actual application scenario, then test with non-sensitive files.
    
-   **Need file-activity clues:** Configure and query [Flow Trace and File Activity](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-tracing/); tracing has a different purpose from this rule's blocking action.
    
-   [File security alerts](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/alerts/)
    
-   [File security risk review](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/file-security/risk-review/)
