Lab 6 โ Preventing Data Exfiltration Using Inline Web DLP
In Lab 5, Alex built a custom DLP detection engine capable of identifying sensitive payroll data. Now it is time to put that engine to work. In this lab, Alex configures an Inline Web DLP policy that blocks unauthorized uploads in real time โ and Kevin attempts to upload the Dataparity payroll report to ChatGPT for AI analysis, only to be stopped by Inline Web DLP.
Dependency: This lab requires the Unified DLP Engine created in Lab 5 (DP Project Code). Complete Lab 5 before proceeding.
Scenario Overviewโ
This lab demonstrates the complete Inline Web DLP workflow end-to-end:
| Step | What Happens |
|---|---|
| 1 | Alex creates a custom End User Notification (EUN) |
| 2 | Alex builds an Inline Web DLP policy using the Lab 5 engine |
| 3 | Kevin attempts to upload Dataparity_Q2_2025_Workforce_Financial_Summary.docx to ChatGPT |
| 4 | Inline DLP inspects, detects, and blocks the upload in real time |
| 5 | Kevin receives the custom EUN explaining the denial |
| 6 | Alex reviews the violation in Web Insight Logs |
Use the supplied payroll report to test the Lab 5 engine. DP Project Code requires all three dictionaries to match: Credit Cards AND ABA Bank Routing Number AND the custom DP Project Code dictionary, each with a count greater than zero. Payroll data or SSNs alone do not satisfy this engine.
Task 1 โ Admin Experience: Configure Inline DLP Protectionโ
Configure a custom EUN and an Inline Web DLP policy that uses the Lab 5 detection engine to block sensitive uploads.
Step 1 โ Navigate to End User Notification (EUN)โ
Alex creates a custom End User Notification to explain why uploads containing sensitive corporate data are blocked. Clear user coaching reduces helpdesk escalations and reinforces security awareness.
Navigate to:
Open the menu (โฐ), select Administration, scroll to the bottom of the panel to End User Notification, and click End User Notifications.
Step 2 โ Add a Custom EUNโ
Select the Client Connector tab. Use the Channel filter to show Inline Web messages, then click + Add Custom Message.
Step 3 โ Add the Custom Message Textโ
Configure the custom message:
- Name:
Corporate Sensitive Data Block - Channel: Inline Web
- Language: English (Default)
- Block message: the text below
- Additional Information: select File Name, URL Category, Destination, URL, Rule Name, and DLP Engines
The message should identify the policy, explain the reason for the block, and provide a contact path. Click Save.
๐ Suggested message: "Your file upload has been blocked because it contains sensitive Dataparity information protected under our Data Security Policy. If you believe this is an error, please contact the Security team at security@dataparity.com."
Step 4 โ Navigate to Inline DLP Policy Creationโ
Navigate to the Inline DLP policy creation page:
Open the menu (โฐ), select Data Security (1), scroll to Inline DLP (2), and click Inline Web DLP under Configuration (3).
On the Inline Web DLP Policy page, click + Add DLP Rule (1) at the top right.
Step 5 โ Configure Basic Policy Informationโ
The policy window is large and split across multiple sections. The first section covers the foundational policy settings:
- Rule Order:
1(or the top of your policy stack) - Severity: High
- Rule Name:
Block Sensitive Corporate Data Uploads - Rule Status: Enabled
Leave the user, URL category, and cloud-application scope at Any for this lab so the rule covers sanctioned and unsanctioned destinations alike.
Step 6 โ Configure Policy Criteriaโ
In the Criteria section, set Content Matching to Select DLP Engines and choose the engine created in Lab 5 โ DP Project Code. Leave the remaining criteria at Any.
This is the key connection point: the detection logic built in Lab 5 is now referenced by an enforcement policy. Lab 7 reuses this engine for Endpoint DLP; Lab 8 uses separate, preconfigured browser policies.
Step 7 โ Configure Policy Actionโ
In the Action section:
- Set Data Traffic = Block
- Under Notification, set End User Notification = Show
- Set Notification Message to Corporate Sensitive Data Block โ the message created in Steps 1โ3
- Click Save
Saving does not put the rule into effect. After saving, click the Activation icon (cloud with an up arrow) in the top-right toolbar and Activate the pending changes. Until you do, Kevin's upload in Task 2 will not be blocked.
This completes the Detection โ Enforcement โ User Coaching โ Logging chain.
Detection โ Enforcement โ User Coaching โ Logging. This four-step chain is the hallmark of a mature DLP deployment. Detection identifies the risk. Enforcement stops the action. User coaching reduces recurrence. Logging creates an audit trail for investigation.
Most organizations start with detection and logging only (alert mode). The shift to Block + EUN is when DLP moves from visibility to active protection.
Task 2 โ User Experience: Prevent Data Exfiltrationโ
Attempt to upload the payroll report to an unsanctioned website and observe the real-time block and user notification.
This task must be performed from the lab VM machine. Complete Pre-Requisites for Module 2, Parts 1โ3: verify Inspect for the lab's HTTPS traffic in Part 2, Step 5; confirm ZCC is authenticated with its service ON and all modules active; and verify traffic steering at ip.zscaler.com.
Step 8 โ Attempt the Uploadโ
Kevin opens a browser on the lab VM and navigates to https://chatgpt.com โ a GenAI platform โ to get an AI-powered analysis of the sensitive data.
No ChatGPT account? If a login is required and you cannot or prefer not to sign in, use one of these alternatives instead. Neither requires an account for a basic upload:
- 4shared โ https://www.4shared.com โ click Upload files on the home page
- Filebin โ https://filebin.net โ click Select files or drag the file onto the page
Upload flows and notifications vary by application. Whatever destination you use, confirm the DLP block in your own Web Insights event in Task 3.
He opens the Test files folder on the Desktop, selects Dataparity_Q2_2025_Workforce_Financial_Summary.docx, and initiates an upload.
Expected result when the upload is inspected and matches the policy:
- The lab VM's upload traffic is steered through Zscaler with SSL inspection
- Inline DLP inspects the file content
- The DP Project Code engine matches all three dictionary conditions
- The policy blocks the upload; verify the notification and corresponding Web Insights event
Step 9 โ Kevin Receives the Block Notificationโ
Instead of a successful upload confirmation, the upload fails. What Kevin sees depends on how the site uploads the file:
- ChatGPT โ the custom End User Notification Alex configured in Task 1:
- 4shared (and most sites that upload in the background) โ the site's own error, such as Unknown server error (1). The page never receives the file, but the browser cannot render Zscaler's notification inside the site's upload dialog, so the custom EUN does not appear:
Either way, the upload was blocked by the DLP rule. Task 3 confirms it in the logs.
Task 3 โ Admin Experience: Review Web Insight Logโ
Validate that the DLP event was correctly logged in Web Insight with full metadata.
Step 10 โ Navigate to Web Insight Logsโ
Navigate to the Web Insight log viewer:
Open the menu (โฐ), select Data Explorer, and click Web Insights under Internet & SaaS. Typing web in the Search menu bar gets you there faster.
Step 11 โ Apply DLP Engine Filterโ
Switch from Insights to the Logs tab. Set the Timeframe to the current day, add the filter DLP Engine = DP Project Code, and click Run Query.
Step 12 โ Review Violation Metadataโ
Locate your upload attempt using its time, signed-in lab identity, and chosen destination. Kevin is the scenario persona; your event should show the actual test identity. Expand the matching event to review the violation record:
The values below are examples, not a required literal match to the screenshot. Verify your actual identity, VM/IP, chosen destination, rule, engine, file, and action. Display labels and screenshot values can vary.
| Field | Example / What to Verify |
|---|---|
| User Identity | Your signed-in lab identity (playing Kevin) |
| Source Device / IP | Your lab VM / source IP |
| Cloud Application | ChatGPT, or your chosen upload application |
| Policy Action | Violates Compliance Category |
| Policy Triggered | Your rule: Block Sensitive Corporate Data Uploads |
| DLP Engine Matched | Your Lab 5 engine: DP Project Code |
| DLP Dictionaries | DP Project Code, ABA Bank Routing Number, and Credit Cards โ each with a match count |
| File Name | Your test file: Dataparity_Q2_2025_Workforce_Financial_Summary.docx |
| File Type | Microsoft Word / DOCX (display label may vary) |
| URL Category | For example, Generative AI and ML Applications for ChatGPT; verify your destination's category |
| Action Taken | Verify Blocked for this test |
This step focuses on event metadata rather than matched content. Lab 9: ZWA SOC Triage switches to the read-only Enterprise Tenant, where Priya reviews prepopulated incidents and their trigger data. Those are separate incidents, not the Lab Tenant event you generated here.
- The policy used Block. When would Alert-only be a better starting posture for a new DLP rule โ and what metrics would you use to decide when to escalate to Block?
- Kevin uploaded to ChatGPT โ a GenAI tool. How would the policy behave if he attempted the same upload to a sanctioned AI platform like Microsoft Copilot?
- The Web Insight log shows metadata but not trigger content at this stage. Why might you want to limit trigger visibility in the primary log view?
- The Lab 5 DLP engine is shared by Labs 6 and 7. What governance process would you use to control who can modify a shared detection engine?
GenAI uploads can expose sensitive corporate data. This lab uses the Lab 5 engine to block inspected uploads that match the configured Inline Web DLP policy. Confirm the result through the user notification and your own Web Insights event.
Lab 7 reuses the engine for Endpoint DLP Application File Access (AFA) and Clipboard controls. Lab 8 tests separate, preconfigured browser policies for copy-paste controls; it does not reuse this engine.