Posted on 09-27-2021 09:24 AM
Does anyone know how to disable auto-fill and saving of passwords and credit cards in Chrome? I saw another thread here from a couple years ago saying to utlize Chrome managed prefs, but there's really no guidance other than that.
https://community.jamf.com/t5/jamf-pro/restrict-browser-password-saving/td-p/169381
Anyone with any ideas?
Thanks!
Solved! Go to Solution.
09-29-2021 01:54 PM - edited 09-29-2021 02:18 PM
@Spitzeralready shared the place to find policy names / values to enforce the settings you seek here: https://chromeenterprise.google/policies/
Specifically you want the values for https://chromeenterprise.google/policies/#AutofillCreditCardEnabled and https://chromeenterprise.google/policies/#PasswordManagerEnabled where both will be a boolean value false.
Then you need an XML file to upload into JAMF, something that looks like this, which you'll upload to your Jamf Pro configuration profile set to the Applications & Custom Settings payload under the preference domain com.google.Chrome:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AutofillCreditCardEnabled</key>
<false />
<key>PasswordManagerEnabled</key>
<false />
</dict>
</plist>
Posted on 09-27-2021 11:27 AM
A few months back there was a Jamf/Google event. Google has a management feature (like a mini MDM) that you can use to configure all kinds of features, including auto-fill and passwords. It is pretty robust.
https://support.google.com/chrome/a/answer/9923111?hl=en
Posted on 09-28-2021 07:24 AM
Thanks, but am really looking for Jamf-based method so as to not have to use yet another management tool. Just want to set it via script or config profile and forget it.
Posted on 09-28-2021 08:24 AM
For this purpose you can deploy a custom profile using json. Create a new profile locate the Application & Custom Settings payload , click on External Applications, click Add and under source choose custom schema. For the schema use the json files found here .
Posted on 09-28-2021 08:31 AM
You can use their tool to build the plist file as you need for a single test computer then use the plist values to build a json to push out.
The alternative is to use the Chromium Policy List to find the values and controls that you want to manage and build it manually.
09-29-2021 01:54 PM - edited 09-29-2021 02:18 PM
@Spitzeralready shared the place to find policy names / values to enforce the settings you seek here: https://chromeenterprise.google/policies/
Specifically you want the values for https://chromeenterprise.google/policies/#AutofillCreditCardEnabled and https://chromeenterprise.google/policies/#PasswordManagerEnabled where both will be a boolean value false.
Then you need an XML file to upload into JAMF, something that looks like this, which you'll upload to your Jamf Pro configuration profile set to the Applications & Custom Settings payload under the preference domain com.google.Chrome:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AutofillCreditCardEnabled</key>
<false />
<key>PasswordManagerEnabled</key>
<false />
</dict>
</plist>
Posted on 06-08-2022 12:56 AM
Hi,
Should it be a device or user profile?
for some reason I'm getting an error on target devices:
<Exception> -[__NSCFConstantString objectForKey:]: unrecognized selector sent to instance 0x20e9bbdc8