Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

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

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題