FAQ #1 How to configure policies...
  • 27 Sep 2022
  • 6 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

FAQ #1 How to configure policies...

  • Dark
    Light
  • PDF

Article summary

**QUESTION: **

How to configure policies recommended by Identity Automation for Kiosk Mode workstations to remove cache, history & cookies from Chromium & Firefox browsers?

**SOLUTION: **

As an administrator, you can control how long Chrome/Edge/Firefox keeps data, such as history, cookies, and passwords. You can delete certain data as soon as browser closes or when it becomes older than the time that you specify. By doing this you** can make SnapApp secure across sessions.**

Delete data when Chrome closes

Before you begin, you have to turn off Google Sync using the SyncDisabled policy. If you set the policy to delete data at platform level, you need to turn off Sync at platform level. Likewise, if you set the policy to delete data at user level, you need to turn off Sync at user level.

Recommended/Minimum settings (data types) to set for deleting sessions and/or disabling by Identity Automation are:

  1. **cookies_and_other_site_data: **Deletes cookies and other site data
  2. password_signin: Deletes saved passwords
  3. autofill: Deletes saved autofill data that was saved in the browser
  4. site_settings: Resets site settings to their defaults
  5. hosted_app_data: Deletes data cache for hosted apps that are installed in the browser

Automatically remove Chrome browsing data on exit using Group Policy Editor

  1. Open the Local Group Policy Editor on your computer. For that, press Win+R, type gpedit.msc, and press the Enter button.
  2. Navigate to this path:
    1. Computer Configuration > Administrative Templates > Google Chrome
  3. Here you can find a setting called Clear Browsing Data on Exit. You need to double-click on this setting and choose the Enabled option.

image.png

  1. Click on the Show button and enter the items which you want to remove on exit as displayed in the above image. For example, you can use the following parameters:

    • browsing_history
    • download_history
    • cookies_and_other_site_data
    • cached_images_and_files
    • autofill
    • password_signin
    • site_settings
    • hosted_app_data
  2. Minimum settings (data types) which is recommended by Identity Automation from the above list are:

    • cookies_and_other_site_data
    • autofill
    • password_signin
    • site_settings
    • hosted_app_data
  3. click the OK button twice to save the change. Now, you need to restart the Google Chrome browser to take the effect.

Automatically remove Chrome browsing data on exit using Registry

  1. Press Win+R > type regedit > press the Enter button and click the Yes button to open the Registry Editor on your computer. Once it is opened, navigate to the following path:
    1. HKEY_LOCAL_MACHINE\SOFTWARE\Policies
  2. Right-click on Policies > New > Key, and name it as Google. Then, right-click on Google > New > Key, and name it Chrome.
    • image.png
  3. Right-click on the Chrome key > New > Key, and set the name as ClearBrowsingDataOnExitList.
  4. Right-click on ClearBrowsingDataOnExitList > New > String Value, and name it 1.
  5. Double-click on it to set the Value data as displayed in the following image:
    • image.png
  6. Click the OK button and reboot your computer.

Note: Minimum settings recommended by Identity Automation are cookies_and_other_site_data, autofill, password_signin, site_settings, hosted_app_Data.

To set SyncDisabled in Registry for Chrome

You can set SyncDisabled setting in registry as displayed in the following image:
image.png

Delete data when Edge closes

You can delete your browsing history on exit – and you can do it via Edge Settings or by using the Registry.

Automatically delete Edge browsing history on exit

  1. Launch Microsoft Edge browser.
  2. Go to ‘Settings and more‘ menu, residing in the upper-right corner of the browser window.
  3. Click the menu, select ‘Settings‘ option. In the new window that opens, choose ‘Privacy and services‘.

image.png

  1. In the right pane scroll down to ‘Clear browsing data‘ section. Here, choose the second heading – ‘Choose what to clear every time you close the browser‘.
    image.png

  2. To delete or clear the browsing history of Edge on close, toggle the switch for ‘Browsing history‘ to ‘On’ position.

  3. When enabled, the Edge browser will be configured to automatically delete Microsoft Edge browsing history on exit.

Automatically delete Edge browsing history using the Registry Editor on exit

  1. Open Registry Editor. Next, navigate to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft

  1. Here you have to create two keys. For that, right-click on Microsoft and select New > Key. Name it as Edge.

image.png

  1. Then, right-click on the Edge key, select New > Key, and name it as Recommended.

  2. Now you have to create a DWORD Value inside the Recommended key. For that, right-click on the Recommended > New > DWORD (32-bit) Value, and name it as ClearBrowsingDataOnExit.

  3. By default, it comes with 0 as the Value data. Double-click on it, enter 1 as the Value data and click the OK button.

  4. Similarly, if you want to delete cached images and files when Edge exits automatically, you have to create a DWORD Value ClearCachedImagesAndFilesOnExit and set the Value data 1. In case you want to keep your browsing data, you can open the ClearBrowsingDataOnExit, and set the Value data as 0.
    image.png

Note: Minimum setting recommended by Identity Automation is ClearBrowsingDataOnExit.

Automatically delete Edge browsing history using Group Policy on exit

  1. Press Win+R, type gpedit.msc, and press the Enter button. Next, navigate to the following path:

    1. Computer Configuration > Administrative Templates > Classic Administrative Templates > Microsoft Edge - Default Settings
  2. Double-click on the Clear browsing data when Microsoft Edge closes setting and select the Enabled option.
    image.png

  3. Next, click the OK button to save the change.

  4. It is also possible to delete cached images and files on exit. For that, you have to enable the Clear cached images and files when Microsoft Edge closes setting.

  5. In case you do not want to clear the browsing data on exit, open the same setting, and choose either Not Configured or the Disabled option.

  6. If you use this solution, you need not use the Private browsing mode and keep using the normal mode. Also, you do not have to worry about deleting browsing data manually for privacy reasons.

Note: Minimum setting recommended by Identity Automation is ClearBrowsingDataOnExit.

Delete data when Firefox closes

Automatically delete Firefox browsing history using Group Policy on exit

  1. Open the Local Group Policy Editor by pressing Win+R, typing gpedit.msc, and hitting the Enter button. Once it is opened, navigate to the following path:

    • Computer Configuration > Administrative Templates > Mozilla > Firefox
  2. In the Firefox section, you can find a setting called Clear data when browser is closed. Double-click on this setting and choose the Enabled option.
    image.png

  3. Then, you can see some checkboxes. The options are:

    • Cache
    • Cookies
    • Download History
    • Form Search History
    • Active Logins
    • Site Preferences
    • Offline Website Data
  4. Make a tick in every corresponding checkbox that you want to clear. For instance, if you want to delete only Cache and Cookies, tick those two checkboxes. Similarly, if you’re going to clear everything when Firefox closes, tick all the checkboxes.
    image.png

  5. At last, click the OK button.

Automatically delete Firefox browsing history using Registry Editor on exit

  1. To get started, open the Registry Editor by pressing Win+R, typing regedit, hitting the Enter button, and selecting the Yes option. Then, navigate the following path:

    • HKEY_LOCAL_MACHINE\SOFTWARE\Policies
  2. Right-click on the Policies key, select New > Key and set the name as Mozilla. Then, right-click on Mozilla > New > Key, and name it as Firefox.
    image.png

  3. Following that, right-click on the Firefox key, choose New > Key and name it as SanitizeOnShutdown.

  4. Now, right-click on SanitizeOnShutdown, select New > DWORD (32-bit) Value, and name it as Cache. In other terms, you have to name this REG_DWORD value as per the data you want to clear. In case you want to clear only cache, call it ­Cache. Otherwise, you can use the following names as per your requirements:

    • Cache
    • Cookies
    • Downloads
    • FormData
    • History
    • OfflineApps
    • Sessions
    • SiteSettings
  5. You can set all the properties as displayed in the following image:
    image.png

Note: Minimum settings recommended by Identity Automation are Cookies, FormData, Sessions, SiteSettings.


Was this article helpful?