Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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

  • 4 odpovědi
  • 0 má tento problém
  • 1 zobrazení
  • Poslední odpověď od 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

Zvolené řešení

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.

Přečíst dotaz v kontextu 👍 0

Všechny odpovědi (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

Zvolené řešení

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