Beyond USB: 4 Essential Microsoft Purview DLP Controls Every Organization Should Enable

Data Loss Prevention blocked actions dialog showing WinSCP AccessByFtpApp and Remote Desktop Connection RemoteDesktopAccess for the lab credentials file

Microsoft Purview Endpoint DLP | Hands on security lab | Part 2

Preventing sensitive data loss does not always require a complex new security product. Sometimes the most useful controls are already available in Microsoft Purview: restricting copy/paste, network shares, and remote file transfer channels when a file contains sensitive information. These are foundational controls every organization should assess and, where appropriate, enable through a phased rollout.

This is a continuation of my previous article, From Audit to Block: Protecting Cloud Secrets with Microsoft Purview DLP, where I configured a custom policy, validated credential detection in OneDrive and on Windows, and demonstrated a blocked USB copy. In this follow-up, I tested four more endpoint data-exfiltration paths: Clipboard, SMB network shares, SFTP, and RDP.

1. A simple lab, four additional controls

The environment is intentionally straightforward: a dedicated Microsoft 365 E5 lab tenant, one onboarded Windows 11 test device, a Synology NAS, and an Azure Windows VM. I reused a synthetic, nonfunctional Word file named DLP-Lab-Cloud-Credentials.docx, already detected by the built-in Client Secret / API Key and General Password sensitive information types.

In Microsoft Purview → Data Loss Prevention → Policies → Edit rule → Audit or restrict activities on devices, I configured the relevant actions as Block. The screenshot also shows USB and Print, but the verified new scenarios covered in this article are the four below. Testing was limited to the lab and should not be read as a recommendation to immediately block every activity for every user in production.

Microsoft Purview Endpoint DLP rule with Block selected for clipboard USB network RDP and FTP SFTP
Figure 1. The lab policy includes multiple endpoint Block actions. Print was also configured but is not part of this validated test series.

2. Copy to clipboard  blocked

First, I opened the synthetic credentials document in Microsoft Word, selected content, and attempted to copy it into Notepad. Windows displayed a DLP notification stating that copying from the document was not allowed. The Notepad window remained empty.

Windows DLP notification prevents copying credentials from Word into Notepad
Figure 2. Copying sensitive content from Word to Notepad is denied by Endpoint DLP.

Why it matters: Copy/paste is a fast way for sensitive information to move between applications. This is a clipboard control, not a screen-capture control; screenshot restrictions require separate consideration.

3. Copy to a network share  blocked

Next, I used Windows Explorer to copy the same classified document from my laptop to the TechShare SMB share on a home Synology NAS. The transfer was denied. The DLP client’s detailed view explicitly listed CopyToNetworkShare for Windows Explorer, as well as the separate clipboard block in Word.

Windows DLP blocked actions list showing CopyToNetworkShare for Windows Explorer
Figure 3. DLP client details record CopyToNetworkShare in Windows Explorer and CopyToClipboard in Word as blocked actions.

Why it matters: A mapped or browsed network share can become an unmonitored copy destination if endpoint restrictions stop at USB devices. Network-share controls are especially relevant for NAS devices and file servers.

4. FTP/SFTP   WinSCP access prevented

New in Purview (October 2026 General Availability): The FTP and SFTP transfers endpoint activity is marked New in the rule editor. Microsoft documents this feature as generally available in October 2026, expanding device DLP from established channels such as USB and SMB shares to supported FTP/SFTP transfers. Under the action, administrators can choose Audit only, Block, Block with override or Allow. See Microsoft Purview What’s New and FTP/SFTP protection guide.

FTP and SFTP transfers option marked New in Microsoft Purview Endpoint DLP rule editor
Figure 4. Purview explicitly marks FTP and SFTP transfers as a New endpoint DLP control.

For the third test, I enabled the Synology NAS SFTP service on port 22, keeping the service inside the lab network, and connected from Windows through WinSCP. When I attempted to upload the sensitive Word file, WinSCP reported System Error 356 because Windows blocked access to the source file.

Synology DSM screen showing SFTP enabled on port 22
Figure 5. SFTP was enabled on the Synology lab NAS, using port 22 on the home network.
WinSCP shows file access denied by Windows Information Protection policy during SFTP upload attempt
Figure 6. WinSCP could not open the sensitive source document for upload; Windows reported an operation blocked by policy.

The endpoint blocked actions details later identified the WinSCP action as AccessByFtpApp. This demonstrates that the selected client could not access the protected file for the attempted transfer. It is not a blanket claim about every SFTP client or server.

5. Remote Desktop (RDP) — transfer prevented

Finally, I connected from the DLP managed Windows 11 laptop to an Azure Windows VM over RDP. With local drive redirection available inside the remote session, I attempted to copy the same sensitive document into the VM. Windows reported that it could not read from the source file, and a DLP notification indicated that the attempted upload was not allowed.

The DLP blocked-actions dialog identified Remote Desktop Connection with the action RemoteDesktopAccess, alongside the WinSCP event from the previous test.

Endpoint DLP blocked actions list shows AccessByFtpApp and RemoteDesktopAccess for the lab credentials file
Figure 7. DLP client details identify AccessByFtpApp for WinSCP and RemoteDesktopAccess for Remote Desktop Connection.

Why it matters: Remote sessions and redirected drives can become alternative routes for moving data beyond a managed endpoint. The exact enforcement depends on the transfer method, client, policy scope and applicable endpoint capabilities.

6. Summary  simple controls, measurable outcomes

Activity Observed outcome in this lab
USB removable storage Blocked  covered in Part 1
Copy to clipboard Blocked in Word → Notepad test
Copy to Synology SMB share CopyToNetworkShare blocked
WinSCP SFTP upload Source-file access blocked; AccessByFtpApp reported
Azure VM RDP file transfer Transfer prevented; RemoteDesktopAccess reported

These results illustrate how a small set of Microsoft Purview Endpoint DLP controls can reduce common data exfiltration paths. What makes them effective is not simply selecting Block: start in Audit, confirm the sensitive information types, evaluate business exceptions, scope policies carefully, and validate both the Windows notification and DLP activity details. Also remember that blocked transfers in one lab do not establish universal coverage of all applications or exfiltration techniques.

A closing thought: what about SSH?

SFTP is built on SSH, but SSH is not the same as SFTP. SFTP uses an encrypted SSH connection for file transfers. SSH itself also supports remote terminal sessions, tunneling and other capabilities. Therefore, enabling FTP and SFTP transfers → Block is not equivalent to disabling SSH, and it does not demonstrate comprehensive coverage of other SSH-based file movement methods such as SCP or rsync over SSH.

My suggestion for Microsoft: Extend Purview’s content-aware controls with deeper visibility and granular protection for additional SSH-based file transfer methods, without indiscriminately blocking legitimate SSH administration. This is a proposed future improvement, not a feature claimed to exist or to have been tested in this lab.

What’s next — Microsoft Purview Insider Risk Management

So far, our policies have focused on what sensitive content is being moved and through which channel. The natural next question is: what if the user’s behavior and risk context should also influence the response?

In the next article, I will move into Microsoft Purview Insider Risk Management (IRM) examining risk indicators, insider risk policies, privacy aware investigations and how Adaptive Protection can connect insider risk levels with DLP enforcement. This is the next planned hands on exploration, not a feature configured or validated in the present lab.

Previous article: From Audit to Block: Protecting Cloud Secrets with Microsoft Purview DLP

Microsoft Learn: Endpoint DLP overview · FTP/SFTP protection · Insider Risk Management and Adaptive Protection.

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.