{"id":734,"date":"2024-01-08T18:13:00","date_gmt":"2024-01-08T18:13:00","guid":{"rendered":"https:\/\/thelog.me\/?p=734"},"modified":"2024-01-08T18:18:58","modified_gmt":"2024-01-08T18:18:58","slug":"allow-or-block-access-to-websites","status":"publish","type":"post","link":"https:\/\/thelog.me\/?p=734","title":{"rendered":"Allow or block access to websites"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/support.google.com\/chrome\/a\/answer\/7532419?hl=en\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/support.google.com\/chrome\/a\/answer\/7532419?hl=en<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Allow or block access to websites<br>Applies to managed Chrome browsers and ChromeOS devices.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Want to customize ChromeOS browsing settings? Start your Chrome Enterprise Upgrade trial at no charge today<br>As a Chrome Enterprise admin you can block and allow URLs so that users can only visit certain websites. Restricting users\u2019 internet access can increase productivity and protect your organization from viruses and malicious content found on some websites.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When to block and allow URLs<br>Use the blocklist and allowlist for basic URL management. If you need stronger filtering, use a content-filtering web-proxy server or extension.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the URL blocklist and allowlist to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Allow access to all URLs except the ones you block\u2014Use the blocklist to prevent users from visiting certain websites, while allowing them access to the rest of the web.<br>Block access to all URLs except the ones you allow\u2014Use the blocklist to block access to all URLs. Then, use the allowlist to allow access to a limited list of URLs.<br>Define exceptions to very restrictive blocklists\u2014Use 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.<br>Allow Chrome browser to open apps\u2014Allow specific external protocol handlers so that Chrome browser can automatically open certain apps.<br>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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more details, see Blocked URLs on the sign-in \/ lock screens and Blocked URL exceptions on the sign-in \/ lock screens.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">URL blocking exceptions<br>It is best practice to not block some URLs. These include:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">chrome:\/\/settings<br>chrome:\/\/os-settings<br>chrome-untrusted:\/\/<br>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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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&#8217;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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1: Review policies<br>Policy Description<br>URLBlocklist<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Prevent users from accessing a list of blocked URLs. Users can access all URLs except those that you block.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unset: Users can access all website URLs without restriction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">URLAllowlist<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unset: There are no exceptions to the URL blocklist.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2: Specify URLs Chrome users can visit<br>Click below for the steps, based on how you want to manage these policies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Admin console<br>Windows<br>Mac<br>Linux<br>Android<br>iOS\/iPadOS<br>Step 3: Verify policies are applied<br>After you apply any Chrome policies, users need to restart Chrome browser for the settings to take effect. You can check users\u2019 devices to make sure the policy was applied correctly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On a managed device, go to chrome:\/\/policy.<br>Click Reload policies.<br>For URLBlocklist and URLAllowlist, make sure Status is set to OK.<br>For URLBlocklist and URLAllowlist, click Show value and make sure that the value fields are the same as what you set in the policy.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Youtube search term: <a href=\"https:\/\/www.youtube.com\/results?search_query=How+To+Block+Websites\" target=\"_blank\" rel=\"noreferrer noopener\">How To Block Websites<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"video-container\"><iframe loading=\"lazy\" title=\"How to: Block websites using the Hosts file | Windows 10 | Full Guide\" width=\"700\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/xM60R9dWYUI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">what&#8217;s up guys my name is techno but<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">here for troubleshoots and today I&#8217;ll be<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">showing you how you can block websites<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">using the windows hosts file so this<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">works out of anti viruses and custom<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">file will software and even the built-in<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft Windows Firewall by adding<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">something to here you&#8217;re gonna make sure<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">that absolutely nothing can remove it<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">other than you I think some other<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">programs if you right click run as admin<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">can do it but it&#8217;s unlikely that<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">anything else will even bother it<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">looking there basically what we&#8217;ll be<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">doing is blocking a URL making sure a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">program or a user cannot access this<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Internet website at all usually you&#8217;ll<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">do this if you want to block a program<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">from accessing the Internet<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">or you just want to block a website<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">entirely this is usually used for<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">blocking adverts or other websites so to<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">begin open up a file explorer head<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">across to this pc see windows scroll<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">down to system 32 then scroll down to<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drivers then etc&#8217; and hosts so if you<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">copy this no extension file it&#8217;s just<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">called hosts to something like your<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">desktop you&#8217;re able to edit it note that<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">if you open it in this folder over here<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">you&#8217;re most likely not going to be able<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">to save it because the program that you<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">using to edit it is not running as admin<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">it&#8217;s a bit more difficult to do it that<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">way so I recommend you just copy it out<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">it&#8217;s probably the easiest right-click<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">open with and notepad then inside of<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">here at the very bottom of the file<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">you&#8217;ll see that there&#8217;s a bunch of<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sample text with a hash before it when<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">you add a hash it&#8217;ll ignore that line of<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">text each new line is a new rule for the<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows Firewall so if by entering<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">0.0.0.0 we&#8217;ve just created an IP address<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">that leads nowhere so if we enter<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">something like google.com afterwards<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">next up we&#8217;ll also add a WWE variant so<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">that both google.com and WWE google.com<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">don&#8217;t work you&#8217;ll have to do this for<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">every subdomain like WWE but usually<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">having these two should be the safest so<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">let&#8217;s save it with ctrl s minimize<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">notepad copy the host file and paste it<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">back into the e.t.c folder hit replace<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">and continue and then<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">open up a browser of choice and go to<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">google.com and then you&#8217;ll see that it<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cannot access this page so we&#8217;ve<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">successfully blocked a web page so let&#8217;s<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">go ahead and remove this rule save drag<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">and drop the file back in continue open<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">up the internet browser you&#8217;ll see that<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Google now works again so anyways that&#8217;s<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">about it I hope you find this video<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">useful if you&#8217;re not exactly comfortable<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">using the Windows Firewall or you just<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">need something a little bit stronger<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">than that or you just have a list of<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">things already this is a super simple<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">way of doing it thank you guys for<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">watching my name&#8217;s been taking over here<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">for troubleshoot and I&#8217;ll see you guys<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">next time ciao<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/support.google.com\/chrome\/a\/answer\/7532419?hl=en Allow or block access to websitesApplies to managed Chrome browsers and ChromeOS devices. Want to customize ChromeOS browsing settings? Start your Chrome Enterprise Upgrade trial at no charge todayAs a Chrome Enterprise admin you can block and allow URLs so that users can only visit certain websites. Restricting users\u2019 internet access can increase productivity&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71,74],"tags":[],"class_list":["post-734","post","type-post","status-publish","format-standard","hentry","category-how","category-internet"],"_links":{"self":[{"href":"https:\/\/thelog.me\/index.php?rest_route=\/wp\/v2\/posts\/734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thelog.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thelog.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thelog.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thelog.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=734"}],"version-history":[{"count":2,"href":"https:\/\/thelog.me\/index.php?rest_route=\/wp\/v2\/posts\/734\/revisions"}],"predecessor-version":[{"id":736,"href":"https:\/\/thelog.me\/index.php?rest_route=\/wp\/v2\/posts\/734\/revisions\/736"}],"wp:attachment":[{"href":"https:\/\/thelog.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thelog.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thelog.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}