Skip to content

Commit 4e6e122

Browse files
Update Background and Description
1 parent b2a0f86 commit 4e6e122

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

specs/SensitivityLabel.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
4646
-->
4747

48-
Title
48+
Sensitivity label support for Webview2
4949
===
5050

5151
# Background
@@ -69,8 +69,9 @@ Title
6969
area, just explanation enough to understand this new API, rather than telling
7070
the reader "go read 100 pages of background information posted at ...".
7171
-->
72+
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.
7273

73-
# Conceptual pages (How To)
74+
# Description
7475

7576
_(This is conceptual documentation that will go to learn.microsoft.com "how to" page)_
7677

@@ -89,7 +90,12 @@ _(This is conceptual documentation that will go to learn.microsoft.com "how to"
8990
lean towards including text in the API documentation below instead of in this conceptual
9091
section.
9192
-->
92-
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.
94+
The core features of this proposal are as follows:
95+
• Configure the allowlist filter for Page Interaction Restriction Manager at the profile level.
96+
• After setup, the manager is available on allowlisted pages. Content can send sensitivity labels to the platform via the API.
97+
• When a label changes, an event notifies the platform of all labels on that page.
98+
• Sensitivity labels are cleared when navigating away from the current WebView.
9399

94100
# Examples
95101
<!-- TEMPLATE

0 commit comments

Comments
 (0)