@@ -80,8 +80,7 @@ and embodied in the various standards that user agents implement.
80
80
81
81
[[design-principles#safe-to-browse|It should be safe to visit a web page.]]
82
82
That is, simply visiting a page must not allow
83
- the page to make permanent changes to the user's computer or environment
84
- (for example by installing malware),
83
+ the page to make permanent changes to the user's computer or environment,
85
84
and simply visiting should reveal
86
85
as little information as practical about the user to the page,
87
86
to the user's environment,
@@ -90,8 +89,7 @@ and to any other interested actor.
90
89
Users can opt into sharing more information with a page they visit,
91
90
for example by entering or auto-filling data into form fields,
92
91
or granting permissions to the page.
93
- Users can also allow the page to make changes to their environment,
94
- for example by installing native programs that the page offers.
92
+ Users can also allow the page to make changes to their environment.
95
93
Even in these cases,
96
94
user agents should strive to prevent pages from tricking their users
97
95
and should help their users notice
@@ -142,6 +140,17 @@ This motivates behaviors like
142
140
<a element-state for="input" lt="File Upload">`<input type=file>`</a> uploads, and
143
141
* restricting which local fonts can be used in <a at-rule>@font-face</a> rules.
144
142
143
+ User agents are not expected
144
+ to entirely prevent users from letting web pages read or write local files.
145
+ As mentioned,
146
+ <a element-state for="input" lt="File Upload">`<input type=file>`</a>
147
+ allows uploading file contents,
148
+ and user agents allow people to download files from the web,
149
+ including dangerous executables.
150
+ Smoother experiences like the [[file-system-access inline]] API
151
+ also don't violate any duties,
152
+ as long as users can [[design-principles#consent|meaningfully consent]] .
153
+
145
154
</div>
146
155
147
156
## Honesty ## {#honesty}
0 commit comments