Allow or block access to websites (2024)

Applies to managed Chrome browsers and ChromeOS devices.

Want to customize ChromeOS browsing settings? Start your Chrome Enterprise Upgrade trial at no charge today

As a Chrome Enterprise admin you can block and allow URLs so that users can only visit certain websites. Restricting users’ internet access can increase productivity and protect your organization from viruses and malicious content found on some websites.

When to block and allow URLs

Use the blocklist and allowlist for basic URL management. If you need stronger filtering, use a content-filtering web-proxy server or extension.

Use the URL blocklist and allowlist to:

  • Allow access to all URLs except the ones you block—Use the blocklist to prevent users from visiting certain websites, while allowing them access to the rest of the web.
  • Block access to all URLs except the ones you allow—Use the blocklist to block access to all URLs. Then, use the allowlist to allow access to a limited list of URLs.
  • Define exceptions to very restrictive blocklists—Use the blocklist to block access to all URLs. Then, use the allowlist to let users access certain schemes, subdomains of other domains, ports, or specific paths.
  • Allow Chrome browser to open apps—Allow specific external protocol handlers so that Chrome browser can automatically open certain apps.

Sometimes, the blocklist and allowlist does not work as expected. For example, if you block an entire website and allow a specific webpage URL for that site, users might be able to access other content on that website.

When SAML or OpenID Connect single sign-on is used for user authentication, or when configuring network connections with Captive Portals outside of user sessions, you can block or allow URLs on user sign-in and lock screens using the DeviceAuthenticationURLBlocklist and DeviceAuthenticationURLAllowlist policies.

For more details, see Blocked URLs on the sign-in / lock screens and Blocked URL exceptions on the sign-in / lock screens.

URL blocking exceptions

It is best practice to not block some URLs. These include:

  • chrome://settings
  • chrome://os-settings
  • chrome-untrusted://

The chrome://settings and chrome://os-settings URLs should be considered part of the operating system for ChromeOS and part of the browser for Chrome and should never be blocked.

Even if you do block some of them, some users might get around this policy by using JavaScript commands to navigate to these pages regardless. For example, if you block the Wi-Fi subpage chrome://os-settings/networks?type=WiFi, users can still go to the page by using the navigation code within settings from the JavaScript console.

ChromeOS system components use chrome-untrusted:// to process data from users or the web and blocking it is not recommended as it will break some system components. This special url scheme allows Google to make sure any data not included with ChromeOS is handled safely with all the safeguards that the Chrome browser provides and that this data can't access functionality reserved for system components. Whenever a system component can process user-supplied data or content from the web, chrome-untrusted://URLs are used.

If you want to block chrome://settings, chrome://os-settings or chrome-untrusted://, use the SystemFeaturesDisableList policy. This blocks all the settings, not just part of it. Do not use URLallowList or URLblockList policies to do this. For details, see Disabled system features.

If you have a specific page you want to block, you should isolate what exactly in the page that you want to block from users. You can then alert Chrome or ChromeOS support about what policies you want implemented. Developers can then add a policy for the specific functionality that should be blocked instead.

Step 1: Review policies

Policy Description

URLBlocklist

Prevent users from accessing a list of blocked URLs. Users can access all URLs except those that you block.

Unset: Users can access all website URLs without restriction.

URLAllowlist

Use it with URLBlocklist to allow users to access specific URLs as exceptions to the URL blocklist. The allowlist takes precedence over the blocklist. To work, you need at least one entry in the blocklist.

Unset: There are no exceptions to the URL blocklist.

Step 2: Specify URLs Chrome users can visit

Click below for the steps, based on how you want to manage these policies.

Admin console

Can apply for signed-in users on any device or enrolled browsers on Windows, Mac, Linux, or Android. For details, see Understand when settings apply.

  1. Sign in to your GoogleAdminconsole.

    Sign in using your administrator account (does not end in @gmail.com).

  2. In the Admin console, go to MenuAllow or block access to websites (1)Allow or block access to websites (2)Allow or block access to websites (3)DevicesAllow or block access to websites (4)ChromeAllow or block access to websites (5)Settings. The User & browser settings page opens by default.

    If you signed up for Chrome Browser Cloud Management, go to MenuAllow or block access to websites (6)Allow or block access to websites (7)Allow or block access to websites (8)Chrome browserAllow or block access to websites (9)Settings.

  3. (Optional) To apply the setting only to some users and enrolled browsers, at the side, select an organizational unit (often used for departments) or configurationgroup (advanced). Show me how

    Group settings override organizational units.Learn more

  4. Go to Content.
  5. Click URL Blocking and enter URLs as needed:
    • Blocked URLs—URLs that you want to prevent users from accessing.

      For syntax and examples, see .

    • Blocked URL exceptions—URLs that you want to allow users to access (allowlist). Access is allowed even if the URLs are also defined in Blocked URLs.

      For syntax and examples, see .

    You can block and allow up to 1,000 URLs.

  6. Click Save. Or, you might click Override for an organizational unit.

    To later restore the inherited value, click Inherit (or Unsetfor a group).

If you enabled Android apps on supported Chrome devices in your organization:

  • Blocked URLs is not recognized by apps that use Android System WebView. To enforce a blocklist on these apps, define the blocked URLs in a text file and apply the blocklist to the Android apps on an app-by-app basis. For apps that don’t use Android System WebView, see the app documentation for information on how to restrict access in a similar way.
  • Blocked URL exceptions is usually recognized by Android apps that use Android System WebView. However, other apps might not respect the blocklist. You can allow the apps that use Android System WebView and omit the ones that don’t. For information on allowing Android apps, see Allow the installation of approved apps.

Windows

Applies toWindowsusers who sign in to a managed account on Chrome browser.

Using Group Policy

In your Microsoft Windows Group Policy Editor (Computer or User Configuration folder):

  1. Go to PoliciesAllow or block access to websites (12)Administrative TemplatesAllow or block access to websites (13)GoogleAllow or block access to websites (14)Google Chrome.
  2. Enable Block access to a list of URLs.
    Tip: If you don't see this policy, download the latest policy template.
  3. Add the URLs that you want to block.
    Leaving this policy Not configured uses the Unset behavior described above.
  4. Enable Allows access to a list of URLs.
  5. Add the URLs that you want users to access.
    Leaving this policy Not configured uses the Unset behavior described above.
  6. Deploy the update to your users.

You can block and allow up to 1,000 URLs. For URL syntax, see Allow or block websites—URL filter format.

Mac

Applies toMacusers who sign in to a managed account on Chrome browser.

In your Chrome policy configuration profile (.plist file):

  1. Add or update the following keys.
    • Add the URLs that you want to block to the URLBlocklist key.
    • Add the URLs that you want users to access to the URLAllowlist key.
  2. Deploy the changes to your users.

You can block and allow up to 1,000 URLs. For URL syntax, see Allow or block websites—URL filter format.

The example shows how to block all URLs except mail.example.com, wikipedia.org, and google.com.

<key>URLBlocklist</key>
<dict>
<array>
<string>*</string>
</array>
</dict>
<key>URLAllowlist</key>
<dict>
<array>
<string>mail.example.com</string>
<string>wikipedia.org</string>
<string>google.com</string>
</array>
</dict>

Linux

Applies to Linuxusers who sign in to a managed account on Chrome browser.

Using your preferred JSON file editor:

  1. Go to your /etc/opt/chrome/policies/managed folder.
  2. Create or update a JSON file and enter URLs as needed:
    • In URLBlocklist, add the URLs that you want to block.
    • In URLAllowlist, add the URLs that you want users to access.
  3. Deploy the update to your users.

You can block and allow up to 1,000 URLs. For URL syntax, see Allow or block websites—URL filter format.

The example shows how to block all URLs except mail.example.com, wikipedia.org, and google.com.

First, create a file that contains the blocked URLs.

{
"URLBlocklist": ["*"]
}

Then, create a file that contains the allowed URLs.

{
"URLAllowlist": ["mail.example.com", "wikipedia.org", "google.com"]
}

Android

Applies to Android users who sign in to Chrome browser using a managed account.

If you've signed up for Chrome Enterprise Core, use your Admin console to manage Chrome browser on Android devices. Follow the steps in Admin console above.

Otherwise, we recommend that you ask your Mobile Device Management (MDM) vendor to configure URL blocking policies for Chrome on Android.

Read Set up Chrome Enterprise Core

iOS/iPadOS

Applies to iPhone and iPad users who sign in to Chrome browser using a managed account.

If you've signed up for Chrome Enterprise Core, use your Admin console to manage Chrome browser on iPhones and iPads. Follow the steps in Admin console above.

Otherwise, we recommend that you ask your Mobile Device Management (MDM) vendor to configure URL blocking policies for Chrome on iOS and iPadOS.

Read Set up Chrome Enterprise Core

Step 3: Verify policies are applied

After you apply any Chrome policies, users need to restart Chrome browser for the settings to take effect. You can check users’ devices to make sure the policy was applied correctly.

  1. On a managed device, go to chrome://policy.
  2. Click Reload policies.
  3. For URLBlocklist and URLAllowlist, make sure Status is set to OK.
  4. For URLBlocklist and URLAllowlist, click Show value and make sure that the value fields are the same as what you set in the policy.

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Post to the help community Get answers from community members
Allow or block access to websites (2024)
Top Articles
68 Most Important Budget Categories - InsideOutlined
5 Reasons You Should Include Index Funds In Your 401K Or IRA – The Finance Twins
Es.cvs.com/Otchs/Devoted
Craigslist Mexico Cancun
Athletic Squad With Poles Crossword
My Vidant Chart
Zachary Zulock Linkedin
Youtube Combe
Cape Cod | P Town beach
Sitcoms Online Message Board
Tcu Jaggaer
Wisconsin Women's Volleyball Team Leaked Pictures
Help with Choosing Parts
Summer Rae Boyfriend Love Island – Just Speak News
سریال رویای شیرین جوانی قسمت 338
Apne Tv Co Com
Enterprise Car Sales Jacksonville Used Cars
Mani Pedi Walk Ins Near Me
Craigslist Free Stuff Greensboro Nc
Puretalkusa.com/Amac
Farmer's Almanac 2 Month Free Forecast
Army Oubs
Rugged Gentleman Barber Shop Martinsburg Wv
Cvs El Salido
11 Ways to Sell a Car on Craigslist - wikiHow
Greyson Alexander Thorn
Weldmotor Vehicle.com
Used Patio Furniture - Craigslist
Kroger Feed Login
Lilpeachbutt69 Stephanie Chavez
La Qua Brothers Funeral Home
Mega Millions Lottery - Winning Numbers & Results
Wbli Playlist
Shnvme Com
The Syracuse Journal-Democrat from Syracuse, Nebraska
19 Best Seafood Restaurants in San Antonio - The Texas Tasty
Nearest Ups Office To Me
Pokemon Reborn Locations
T&Cs | Hollywood Bowl
968 woorden beginnen met kruis
All Obituaries | Sneath Strilchuk Funeral Services | Funeral Home Roblin Dauphin Ste Rose McCreary MB
VPN Free - Betternet Unlimited VPN Proxy - Chrome Web Store
Www Craigslist Com Atlanta Ga
Sour OG is a chill recreational strain -- just have healthy snacks nearby (cannabis review)
Does Target Have Slime Lickers
Tom Kha Gai Soup Near Me
Amateur Lesbian Spanking
1990 cold case: Who killed Cheryl Henry and Andy Atkinson on Lovers Lane in west Houston?
Slug Menace Rs3
Morbid Ash And Annie Drew
Att Corporate Store Location
Unity Webgl Extreme Race
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 6248

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.