搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Block websites and exceptions to blocked websites not working

  • 2 个回答
  • 1 人有此问题
  • 771 次查看
  • 最后回复者为 cor-el

more options

Hello, I have a series of laptops that I need to block access to all URLs and only allow access to one. These laptops are not joined to an AD domain so I downloaded the ADMX templates and copied them to c:\windows\policydefinitions. I ran gpedit.msc and added <all_urls> to the Blocked Websites policy and then added the specific URL to the Exceptions to Blocked Websites policy. However I am unable to access the allowed URL as Firefox is blocking it, despite having the URL defined in the exceptions policy.

I have added various other URLs to the exceptions policy like https://www.msn.com, https://www.yahoo.com, and https://www.mozilla.org, and all are blocked. I have tried different match patterns in the blocked policy and none blocked any URL, which I didn't expect them to anyway. I tried these patterns:

*://*.*.*
https://*.*.*
http://*.*.*
*

Also in my testing I added https://www.yahoo.com to the block policy, did not enable the exceptions policy and found Firefox did not block that site, which makes zero sense. Am I missing something? I was able to do something similar to this in Chrome with its ADMX templates copied locally to a non-domain joined PC, and it worked flawlessly.

Hello, I have a series of laptops that I need to block access to all URLs and only allow access to one. These laptops are not joined to an AD domain so I downloaded the ADMX templates and copied them to c:\windows\policydefinitions. I ran gpedit.msc and added <all_urls> to the Blocked Websites policy and then added the specific URL to the Exceptions to Blocked Websites policy. However I am unable to access the allowed URL as Firefox is blocking it, despite having the URL defined in the exceptions policy. I have added various other URLs to the exceptions policy like https://www.msn.com, https://www.yahoo.com, and https://www.mozilla.org, and all are blocked. I have tried different match patterns in the blocked policy and none blocked any URL, which I didn't expect them to anyway. I tried these patterns: *://*.*.* https://*.*.* http://*.*.* * Also in my testing I added https://www.yahoo.com to the block policy, did not enable the exceptions policy and found Firefox did not block that site, which makes zero sense. Am I missing something? I was able to do something similar to this in Chrome with its ADMX templates copied locally to a non-domain joined PC, and it worked flawlessly.

由mgorski10于修改

被采纳的解决方案

I figured out how to fix my issue. Setting <all_urls> in the block list was working and I found the problem was the match pattern I had set in the exclude policy was not entered correctly. Apparently explicitly entering the exact URL I wanted to allow wasn't correct. As an example the correct pattern is *://msn.com/*. Not including the asterisk after the domain caused the browser to not account for the path that might be added after accessing the website. Hopefully this helps someone else that runs into the same issue.

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

I figured out how to fix my issue. Setting <all_urls> in the block list was working and I found the problem was the match pattern I had set in the exclude policy was not entered correctly. Apparently explicitly entering the exact URL I wanted to allow wasn't correct. As an example the correct pattern is *://msn.com/*. Not including the asterisk after the domain caused the browser to not account for the path that might be added after accessing the website. Hopefully this helps someone else that runs into the same issue.

more options