Disable Location Tracking
An XCCDF Rule
Description
Location tracking is enabled by default and can track user's browsing habits. Location tracking should be disabled by settingDefaultGeolocationSetting
to 2
in the Chromium policy file.
Rationale
Website tracking is the practice of gathering information as to which websites were accesses by a browser. The common method of doing this is to have a website create a tracking cookie on the browser. If the information of what sites are being accessed is made available to unauthorized persons, this violates confidentiality requirements, and over time poses a significant OPSEC issue.
- ID
- xccdf_org.ssgproject.content_rule_chromium_disallow_location_tracking
- Severity
- Unknown
- References
- Updated
Remediation Templates
A Shell Script
if ! grep -q DefaultGeolocationSetting /etc/chromium/policies/managed/chrome_stig_policy.json; then
sed -i -e '/{/a \ "'DefaultGeolocationSetting'": '2',' /etc/chromium/policies/managed/chrome_stig_policy.json
else
sed -i -e 's/\"'DefaultGeolocationSetting'.*/\"'DefaultGeolocationSetting'\": '2',/g' /etc/chromium/policies/managed/chrome_stig_policy.json
fi