Hands on Microsoft Purview security lab | Part 3 in the Data Loss Prevention series | Microsoft 365 E5 / Windows 11
Blocking a file copied to USB is only the beginning of Data Loss Prevention. In modern organizations, sensitive files can leave a managed device through a browser just as easily as through removable media or network transfers. Employees routinely work with external collaboration services, webmail, cloud drives and AI applications. The challenge for security teams is to protect critical data without blocking legitimate browser-based workflows.
This is Part 3 of my hands on Microsoft Purview DLP series. In Part 1 — From Audit to Block, I built and validated a policy using synthetic cloud-credential data and tested USB protection. In Part 2 — Beyond USB, I extended those tests to clipboard, SMB network shares, SFTP and RDP. Here I move to browser based exfiltration: enforcing file upload restrictions in Microsoft Edge and Google Chrome, then beginning a separate browser paste protection test.
In this installment, the tested browsers blocked sensitive document uploads to Google Drive, and the subsequent sensitive-content transfer attempts into Gmail compose were prevented in both Edge and Chrome. Screenshots document each outcome, while the enforcement notifications help distinguish file upload restrictions from source document clipboard protection.
1. Lab scope and what we want to protect
The lab uses a dedicated Microsoft 365 E5 tenant and an onboarded Windows 11 test device. My test files contain synthetic and nonfunctional credential like data. For cloud-upload validation, I selected drive.google.com as a restricted destination and compared native Microsoft Edge protection with Chrome’s Microsoft Purview extension-based coverage on Windows.
Two Endpoint DLP configuration concepts are important: the Service domains list is used for restricted file uploads, whereas Sensitive service domain groups are used when tailoring supported browser activities such as paste. They are not interchangeable.
2. Configure a restricted cloud destination
From Microsoft Purview → Settings → Data Loss Prevention → Endpoint settings → Browser and domain restrictions to sensitive data, the initial view showed the global Service domains setting Off and no unallowed browsers configured. I then changed Service domains to Block, confirmed the change, and added drive.google.com to the restricted domain list.



The choice is intentionally narrow: this configuration focuses on protected files being uploaded to the listed domain. It is not a blanket restriction on every website or an outright ban on Google Chrome.
3. Create a device based browser DLP policy
In Data Loss Prevention → Policies → Create policy, I selected Enterprise applications & devices, then scoped the test to Devices. The policy used Content contains with credential-related Sensitive Information Types for the protected lab documents. The critical action was Audit or restrict activities on devices → Manage protected files access from unallowed browsers and uploads to restricted cloud service domains → Block.



For this browser upload rule, the File activities for all apps section was set to Don’t restrict file activity. This keeps the scenario focused on the browser/cloud destination action rather than retesting USB, clipboard or printing actions from the earlier articles. The configured Block action requires the policy to be enabled and applied to the endpoint before enforcement can be validated.
4. Google Chrome: sensitive file upload denied
I opened Google Drive in Google Chrome and attempted to upload the synthetic DLP-Lab-Cloud-Credentials.docx document. The Windows DLP notification stated that uploading the file to the selected location was not allowed. The attempted transfer was prevented in this test.

On Windows, Microsoft Purview documents browser-based upload protection for Chrome through the Microsoft Purview browser extension. The observation confirms this browser test’s outcome; it should not be read as proof of coverage across every browser version, upload mechanism or cloud destination.
5. Microsoft Edge: native browser upload protection
I repeated the cloud upload scenario from Microsoft Edge. This time the browser displayed a Microsoft Purview dialog explaining that the organization prevents uploading the file to the location. An additional Windows DLP toast from the browser-upload tests also confirmed that uploading the synthetic lab document was not allowed.


What the comparison shows: Both Edge and Chrome blocked the tested sensitive document upload to Google Drive. Edge supports this Endpoint DLP functionality natively, while Chrome on Windows uses the Microsoft Purview extension for supported browser activities. This demonstrates successful enforcement for our test case, not universal protection of all cloud services.
6. Next control: browser paste protection
File upload restrictions protect classified files. Browser paste protection addresses a different movement path: content copied from an application or clipboard into a supported web form, such as a Gmail compose window. The policy must evaluate the pasted content and the destination URL, not simply rely on the restricted upload-domain list.
I configured Paste to supported browsers → Block and selected the dedicated Lab Browser Paste Destinations sensitive service domain group for the Gmail scenario. A separate Generative AI Websites group was also shown in the configuration screenshots. Domain group priorities and actions were visible in the rule editor.


The Content contains rule included several credential-related classifiers and a standard Credit Card Number Sensitive Information Type configured with High confidence and a minimum instance count of one. This matters because Microsoft documents that the paste activity evaluates content locally and does not support advanced credential classifiers for paste detection. A configured SIT is not by itself evidence that a paste matched the required confidence threshold.

7. Gmail sensitive data copy/paste attempt blocked in Edge and Chrome
With the sensitive service domain group configured and Paste to supported browsers set to Block, I tested entering synthetic sensitive information into a Gmail compose window using both Microsoft Edge and Google Chrome.
Observed outcome: The attempt to move sensitive text from DLP-Lab-USB-Block-Test-02.docx into Gmail was prevented in both browsers. The Gmail compose bodies remained empty and Windows displayed a DLP notification: “Copying from DLP-Lab-USB-Block-Test-02.docx is not allowed.” The test message was not sent.


Activity Explorer verification: The December 2, 2026 event confirms the existing LAB – Endpoint Sensitive Data Exfiltration policy, under rule LAB – Detect Sensitive Data Across M365, blocked a File copied to clipboard activity associated with chrome.exe. The detected types include Credit Card Number, General Password and Client Secret / API Key. This record confirms source document clipboard enforcement, not a separate browser-paste event.

Technical observation: The user visible result is successful prevention of the attempted content transfer into Gmail. The displayed notification specifically identifies the source document Copy to Clipboard restriction; the screenshots alone do not identify a separate Paste to supported browsers event. That distinction can be checked in Activity Explorer, but it does not change the observed fact that the sensitive text did not reach the Gmail compose body.
8. Summary: what has been proven, and what is next
| Protection scenario | Current lab observation |
|---|---|
Restricted service domain drive.google.com |
Configured in Block mode |
| Chrome → Google Drive sensitive DOCX upload | Blocked in the demonstrated test |
| Edge → Google Drive sensitive DOCX upload | Blocked in the demonstrated test |
| Transfer synthetic sensitive content into Gmail compose (Edge and Chrome) | Prevented in both browsers; Windows DLP identified source-document Copy to Clipboard blocking |
| Edge sensitive-site Copy / Print / Save-as | Not yet tested in this installment |
From an enterprise security architecture perspective, browser based DLP is a foundational control that organizations should assess and roll out based on their critical data and business workflows. Start with discovery and auditing, tune classifications and site scope, account for business exceptions, then validate the resulting enforcement at the actual user interaction. In this lab, browser upload and sensitive-content copy/paste attempts were prevented in the tested scenarios.
Next in this lab: Extend validation to Edge sensitive site activities such as Copy, Print and Save As, and review Activity Explorer to attribute source clipboard versus browser paste events. After completing the browser DLP series, the next larger topic will be Microsoft Purview Insider Risk Management and Adaptive Protection adding user risk context to data protection controls.
Earlier articles: Part 1 — From Audit to Block · Part 2 — Beyond USB
Official Microsoft references: Configure Endpoint DLP settings · Microsoft Purview extension for Chrome · Restrict paste in browsers · Diagnose Paste to supported browsers issues.

Leave a Reply