File operation control policy

View as Markdown

File operation control restricts local file operations by path. It is configured separately from Flow Trace, which collects file activity clues. Enabling this policy does not enable tracing, and saving it does not prove that an endpoint has blocked an operation. The following uses Windows endpoints as an example; validate other platforms, applications and operation methods separately.

Before configuration

  • Use an account with Data Loss Prevention policy-management permission. Confirm that pilot endpoints are enrolled and appropriately licensed.
  • Agree on the paths, operations and business impact with the responsible owners. Prepare non-sensitive test files, recoverable pilot endpoints and a rollback plan. Broad paths or restrictions can disrupt business; do not deploy them to all endpoints without testing.
  • To query file activity clues, separately configure the applicable Flow Trace policy. A blocked operation and an available record are different outcomes.

Configure rules

  1. Open Policy in Data Loss Prevention. Create or edit a pilot policy and check its name, target endpoints and effective time.
  2. Enable File operation control, select Configure, then Add rule. Configure at least one complete rule. Even if the page permits an empty rule list to be saved, that does not establish an effective restriction.
  3. Enter Rule name and File path. The path is required and must end in *; duplicate paths are not allowed in the same policy, regardless of letter case. For example, C:\TestDocs\* illustrates a pilot path; use and validate the actual endpoint path.
  4. Select at least one Operation restrictions option: Read-only, Copy denied, Delete denied, Move denied, or Rename denied. Select according to business requirements and verify each restriction separately.
  5. Enable Creation time check if needed. When enabled, Maximum creation time (seconds) must be a positive integer. For example, 60 matches only files created less than 60 seconds ago. File creation time, endpoint clock and file-attribute availability can affect matching; this setting does not guarantee that every file is restricted.
  6. Check each rule's path, restrictions and order; confirm the settings dialog and save the entire policy. Rules can be reordered. For file operation control on Windows, overlapping paths use the first matching rule's restrictions rather than merging later rules. Validate overlapping scopes and order in the pilot.

Verify and troubleshoot

  1. Wait for pilot endpoints to receive and apply the policy. Using controlled paths and files, test both matching and non-matching operations; if the creation-time check is enabled, also test files inside and outside the time condition.
  2. Test copying, deletion, moving, renaming or read-only behavior against the selected restrictions and actual results. Validate each application and operation method; do not assume every operation will be blocked.
  3. If results differ from expectations, check licensing, policy scope and effective time, endpoint state, rule order, path, creation time and selected operations, then check other applicable policies. A successful save does not prove endpoint enforcement.
  4. If business is affected, adjust or disable the applicable rule under the organization's process and verify recovery on the pilot endpoint. Do not assume all endpoints recover immediately after saving in the console.

Updated

Search documentation