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
+31-32Lines changed: 31 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
<!--
2
1
Before submitting, delete all "<!-- TEMPLATE" marked comments in this file,
3
2
and the following quote banner:
4
3
-->
@@ -58,7 +57,7 @@ Sensitivity label support for Webview2
58
57
do not get copied into any official documentation, they're just an aid
59
58
to reading this spec. If you find useful information in the background
60
59
or appendix consider moving it to documentation.
61
-
60
+
62
61
If you're modifying an existing API, included a link here to the
63
62
existing page(s) or spec documentation.
64
63
@@ -67,7 +66,7 @@ Sensitivity label support for Webview2
67
66
68
67
For example, this is a place to provide a brief explanation of some dependent
69
68
area, just explanation enough to understand this new API, rather than telling
70
-
the reader "go read 100 pages of background information posted at ...".
69
+
the reader "go read 100 pages of background information posted at ...".
71
70
-->
72
71
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 (see details here), to the host application. This enables the host application to be informed of the presence of sensitive content.
73
72
@@ -90,7 +89,7 @@ _(This is conceptual documentation that will go to learn.microsoft.com "how to"
90
89
lean towards including text in the API documentation below instead of in this conceptual
91
90
section.
92
91
-->
93
-
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.
92
+
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 URLs 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 URLs. By default, the allow list is empty, preventing hosted content from transmitting sensitivity label information.
94
93
The core features of this proposal are as follows:
95
94
• Configure the allowlist filter for Page Interaction Restriction Manager at the profile level.
96
95
• After setup, the manager is available on allowlisted pages. Content can send sensitivity labels to the platform via the API.
@@ -104,19 +103,19 @@ The core features of this proposal are as follows:
104
103
Configure the PageInteractionRestrictionManager allowlist to enable DLP functionality on trusted domains.
105
104
106
105
```c#
107
-
// Configure allowlist for trusted company domains
106
+
// Configure allowlist for trusted company URLs
108
107
varallowlist=newList<string>
109
108
{
110
-
"https://intranet.company.com",
111
-
"https://*.company.com", // Wildcard for all company subdomains
112
-
"https://trusted-partner.com",
113
-
"https://secure.vendor.net"
109
+
"https://intranet.company.com/*",
110
+
"https://*.company.com/*", // Wildcard for all company subdomains
0 commit comments