Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Block AutoFill data types for specific sites
Supported versions
- Windows: ≥ 154
- macOS: ≥ 154
- Android: ≥ 154
- iOS: ≥ 154
Description
Setting this policy allows you to specify which AutoFill data types are blocked on specific URL patterns.
The policy is structured as a list of dictionaries. Each dictionary must contain:
- "url_pattern": A content setting URL pattern for the main frame (for example, "https://[*.]example.com").
- "blocked_types": A list of strings representing the categories of AutoFill data to block.
The supported values for "blocked_types" are:
- "contact_info": Blocks filling and saving of contact information.
- "payments": Blocks filling and saving of credit cards and payment methods.
- "identity_docs": Blocks filling and saving of identity documents (for example, passports, driver's licenses, and national IDs).
- "travel": Blocks filling and saving of travel information (for example, flight reservations and vehicle registrations).
- "shopping": Blocks filling and saving of shopping information (for example, online orders and shipments).
- "all": Blocks filling and saving of all AutoFill data types.
If a data type is blocked for a site, both the generation of suggestions and the prompt to save or import new data of that type are disabled on that site.
If a URL matches multiple pattern entries in the list, the blocked types from all matching entries are combined. Invalid URL patterns in the list are ignored.
If you don't configure this policy, no AutoFill data types are blocked by domain.
For detailed information on valid URL patterns, see https://go.microsoft.com/fwlink/?linkid=2095322. The wildcard * is supported and matches any URL with any scheme, port, and path.
Supported features
- Can be mandatory: Yes
- Can be recommended: No
- Dynamic Policy Refresh: Yes
- Per Profile: Yes
- Applies to a profile that is signed in with a Microsoft account: No
Data type
- Dictionary
Windows information and settings
Group Policy (ADMX) info
- GP unique name: AutofillSettings
- GP name: Block AutoFill data types for specific sites
- GP path (Mandatory): Administrative Templates/Microsoft Edge
- GP path (Recommended): N/A
- GP ADMX file name: MSEdge.admx
Example value
[{"blocked_types": ["contact_info", "payments"], "url_pattern": "https://[*.]example.com"}, {"blocked_types": ["payments"], "url_pattern": "https://another-example.com"}, {"blocked_types": ["identity_docs"], "url_pattern": "*"}]
Registry settings
- Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
- Path (Recommended): N/A
- Value name: AutofillSettings
- Value type: REG_SZ
Example registry value
[{"blocked_types": ["contact_info", "payments"], "url_pattern": "https://[*.]example.com"}, {"blocked_types": ["payments"], "url_pattern": "https://another-example.com"}, {"blocked_types": ["identity_docs"], "url_pattern": "*"}]
Expanded example registry value
[
{
"blocked_types": [
"contact_info",
"payments"
],
"url_pattern": "https://[*.]example.com"
},
{
"blocked_types": [
"payments"
],
"url_pattern": "https://another-example.com"
},
{
"blocked_types": [
"identity_docs"
],
"url_pattern": "*"
}
]
Mac information and settings
- Preference Key name: AutofillSettings
- Example value:
<key>AutofillSettings</key>
<array>
<dict>
<key>blocked_types</key>
<array>
<string>contact_info</string>
<string>payments</string>
</array>
<key>url_pattern</key>
<string>https://[*.]example.com</string>
</dict>
<dict>
<key>blocked_types</key>
<array>
<string>payments</string>
</array>
<key>url_pattern</key>
<string>https://another-example.com</string>
</dict>
<dict>
<key>blocked_types</key>
<array>
<string>identity_docs</string>
</array>
<key>url_pattern</key>
<string>*</string>
</dict>
</array>
Android information and settings
- Preference Key name: AutofillSettings
- Example value:
[{"blocked_types": ["contact_info", "payments"], "url_pattern": "https://[*.]example.com"}, {"blocked_types": ["payments"], "url_pattern": "https://another-example.com"}, {"blocked_types": ["identity_docs"], "url_pattern": "*"}]
iOS information and settings
- Preference Key name: AutofillSettings
- Example value:
<key>AutofillSettings</key>
<array>
<dict>
<key>blocked_types</key>
<array>
<string>contact_info</string>
<string>payments</string>
</array>
<key>url_pattern</key>
<string>https://[*.]example.com</string>
</dict>
<dict>
<key>blocked_types</key>
<array>
<string>payments</string>
</array>
<key>url_pattern</key>
<string>https://another-example.com</string>
</dict>
<dict>
<key>blocked_types</key>
<array>
<string>identity_docs</string>
</array>
<key>url_pattern</key>
<string>*</string>
</dict>
</array>