Skip to main content
Solved

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

  • September 27, 2021
  • 6 replies
  • 94 views

Forum|alt.badge.img+14

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!

 

Best answer by gabester

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

 

 

 

6 replies

Forum|alt.badge.img+4
  • New Contributor
  • September 27, 2021

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

 


Forum|alt.badge.img+14
  • Author
  • Honored Contributor
  • September 28, 2021

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

 


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.


Forum|alt.badge.img+16
  • Contributor
  • September 28, 2021

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 .


Forum|alt.badge.img+4
  • New Contributor
  • September 28, 2021

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/


Forum|alt.badge.img+10
  • Valued Contributor
  • Answer
  • September 29, 2021

@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
Forum|alt.badge.img+6
  • Contributor
  • June 8, 2022

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

 

 

 


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