为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Firefox ESR (Windows) Policy Wildcards - Is it possible?

  • 4 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 ethan.jerrum

more options

Good afternoon,

We're currently trying to set up a Hardening Guide for Firefox ESR but are struggling with a few policies and setting wildcards.

For example, we're trying to set an origin in Cookies > Block Settings to something like "*", and we get the error "Ignoring parameter "*" - not a valid origin."

In Chrome / Edge you can set a wildcard like this: [*.]google.com for example - we receive the same error message for this.

Can you do such a thing for Firefox ESR without having to list every site you want to block?

ESR Version: 115.6.0esr (64-bit)

Kind Regards, Ethan Jerrum

Good afternoon, We're currently trying to set up a Hardening Guide for Firefox ESR but are struggling with a few policies and setting wildcards. For example, we're trying to set an origin in Cookies > Block Settings to something like "*", and we get the error "Ignoring parameter "*" - not a valid origin." In Chrome / Edge you can set a wildcard like this: [*.]google.com for example - we receive the same error message for this. Can you do such a thing for Firefox ESR without having to list ''every'' site you want to block? ESR Version: 115.6.0esr (64-bit) Kind Regards, Ethan Jerrum

被采纳的解决方案

Are you using Firefox policies?

With the cookie policy:

https://mozilla.github.io/policy-templates/#cookies

You set it to reject all cookies ("reject") and then specify the sites to allow.

I've attached a screenshot of where this is in the Firefox UI.

定位到答案原位置 👍 0

所有回复 (4)

more options

If you say https://google.com and http://google.com permissions, it will block subdomains as well.

more options

Hi Mike,

Yes this is good but we want to Block all sites from setting cookies apart from those in the Allowed Sites list, does this make sense?

Kind Regards, Ethan

more options

选择的解决方案

Are you using Firefox policies?

With the cookie policy:

https://mozilla.github.io/policy-templates/#cookies

You set it to reject all cookies ("reject") and then specify the sites to allow.

I've attached a screenshot of where this is in the Firefox UI.

more options

Thank you Mike,

This makes sense now.

Kind Regards, Ethan