Disable Chrome Auto-fill and saving for passwords and credit cards???

ooshnoo
Valued Contributor

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!

 

1 ACCEPTED SOLUTION

gabester
Contributor III

@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>

 

 

 

View solution in original post

6 REPLIES 6

Spitzer
New Contributor II

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

 

ooshnoo
Valued Contributor

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.

mainelysteve
Valued Contributor II

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 .

Spitzer
New Contributor II

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.

https://chromeenterprise.google/policies/

gabester
Contributor III

@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>

 

 

 

Ninyo
New Contributor III

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