You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/SensitivityLabel.md
+5-41Lines changed: 5 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,11 @@ Sensitivity label support for Webview2
4
4
# Background
5
5
Web pages may contain content with sensitive information. Such information can be identified using data loss protection methods. The purpose of this API is to provide sensitivity label information, communicated by web pages through the [Page Interaction Restriction Manager](https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/PageInteractionRestrictionManager/explainer.md), to the host application. This enables the host application to be informed of the presence of sensitive content.
6
6
7
+
## Note about .NET/WinRT projection
8
+
The work to project this API to .NET and WinRT are yet to be completed. Overall
9
+
usage of this API is expected to be uncommon. There are no known asks for
10
+
this.
11
+
7
12
# Description
8
13
9
14
We propose introducing a SensitivityLabelChanged event to the CoreWebView2 object, enabling applications to monitor changes in sensitivity labels within hosted content. This functionality is restricted to domains explicitly included in an allow list configured by the application. The allow list can be set at the profile level, thereby enabling the Page Interaction Restriction Manager for content within specified domains. By default, the allow list is empty, preventing hosted content from transmitting sensitivity label information.
@@ -20,22 +25,6 @@ The core features of this proposal are as follows:
20
25
21
26
Configure the PageInteractionRestrictionManager allowlist to enable DLP functionality on trusted domains.
22
27
23
-
```c#
24
-
// Configure allowlist for trusted company URLs
25
-
varallowlist=newList<string>
26
-
{
27
-
"https://intranet.company.com/*",
28
-
"https://*.company.com/*", // Wildcard for all company subdomains
0 commit comments