-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
random stuff from the Big E #585
Comments
re: 0911
// Sub-resources HTTP-authentication:
// 0 - don't allow sub-resources to open HTTP authentication credentials dialogs
// 1 - allow sub-resources to open HTTP authentication credentials dialogs,
// but don't allow it for cross-origin sub-resources
// 2 - allow the cross-origin authentication as well. AFAIK HTTP Auth is pretty rare nowadays and 0 should probably be fine. 1 = less breakage |
with the version of when it was added or enabled? |
Generally go with added, or in the case of a few I was checking the other day, it wasn't clear, so my second choice was when it was noted as "compatible" e.g on MDN or FF release notes (edit: tey were only 1 version diff to the bugzillas - and that may be due to being too close to stable releases, so got held back? who knows) Case by case basis. Since this is an old pref, and the difference is so great, I'd go with compat - but lemme try a hybrid to see how it comes out in the real-time project. (see how it screws up the info column) |
👍 if you want to do the other two. PR it |
That looks a bit outdated. You guys tell me. AFAIK you don't need the test pilot, and its not an experiment any more. If anything I would just include [2], add a line re TC and a couple of TC links here's whats on the wiki page
|
it is default false in FF59+
@earthlng just squash & merge if you're happy
/* 0906: disable websites' autocomplete="off" [FF30+]
* Don't let sites dictate use of saved logins and passwords. Increase security through
* stronger password use. The trade-off is the convenience. Some sites should never be
* saved (such as banking sites). Set at true, informed users can make their own choice. ***/
user_pref("signon.storeWhenAutocompleteOff", true); // [DEFAULT: true]
/* 0907: display warnings for logins on non-secure (non HTTPS) pages
* [1] https://bugzilla.mozilla.org/1217156 ***/
user_pref("security.insecure_password.ui.enabled", true);
/* 0908: remove user & password info when attempting to fix an entered URL (i.e. 0802 is true)
* e.g. //user:password@foo -> //user@(prefix)foo(suffix) NOT //user:password@(prefix)foo(suffix) ***/
user_pref("browser.fixup.hide_user_pass", true);
/* 0910: disable autofilling saved passwords on HTTP pages and show warning [FF52+]
* [1] https://www.fxsitecompat.com/en-CA/docs/2017/insecure-login-forms-now-disable-autofill-show-warning-beneath-input-control/
* [2] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1217152,1319119 ***/
user_pref("signon.autofillForms.http", false);
user_pref("security.insecure_field_warning.contextual.enabled", true);
can we remove them? |
sometimes it's about enforcing a default vs bad advice via the internet - I'll have to think about them when i'm sober 🍺 but for sure, lets revisit them |
here is a draft (it's really rough) /* 0912: disable sub-resources HTTP-authentication [FF41+]
* yada yada potentially malicious requests yada yada
* [SETUP-WEB] HTTP Auth is pretty rare nowadays and 0 should be fine, 1 would be less breakage
* 0=don't allow sub-resources to open HTTP authentication credentials dialogs
* 1=allow sub-resources to open HTTP authentication credentials dialogs,
* but don't allow it for cross-origin sub-resources
* 2=allow the cross-origin authentication as well (default) ***/
user_pref("network.auth.subresource-http-auth-allow", 0); Link:
Add a secondary line: without something this looks like it's all about HTTP (and excludes HTTPS) and why it's necessary Note: FF59 https://bugzilla.mozilla.org/show_bug.cgi?id=1357835 added
OT: this showed up in one of my searches: https://addons.mozilla.org/en-US/firefox/addon/block-http-authentication/ - just FYI, that's all. It blocks videos & audio as well as images. I do not know if the FF59 new pref only does images. That's it from me ... @earthlng |
/* 09xx: limit or disable ...
* ...
* 0=don't allow sub-resources to open HTTP authentication credentials dialogs
* 1=don't allow cross-origin sub-resources to open HTTP authentication credentials dialogs
* 2=allow sub-resources to open HTTP authentication credentials dialogs (default)
* [1] https://www.fxsitecompat.com/en-CA/docs/2015/http-auth-dialog-can-no-longer-be-triggered-by-cross-origin-resources/ ***/ I think value 1 should be good enough. Maybe add something that cross-origin images are covered in FF59+ regardless of this pref. (but that's also mentioned in [1] so IDK). Since this should not create that much breakage, if any, especially with value 1, I don't think it needs a [SETUP-WEB] tag. If we add these tags everywhere they kind of lose their usefulness |
@earthlng don't forget to add |
re: remove 0906, 0907, 0908, 0910 .. IDK, see comment re enforcing defaults against the stupidity of the internet, and passwords are pretty important (vs say a tracking cookie)
update: I'd rather we didn't lose anything
Anyone else want to weigh in .. 🐈 Class, discuss! |
- although we *may* remove some of these prefs (but I doubt it, but persuade me in the open issue). - I also don't want to pollute the js with tags on every fucking line. You started adding these for your diffs, right?. I'm not sure exactly how adding them to some prefs but not others helps you? - that said, it is a nice way to show that we're *enforcing* something and does help end users, as well as the shiny overdactyl project
I'd keep |
Ok 2:1 then. It's nice to have a 3rd person now as a tie breaker :) |
Don't believe his lies .. he hedged his bets. Also, just quietly, he'd do anything for a treat (or so I'm told) |
🔻 stuff 🌍 brought up
remove 0906, 0907, 0908, 0910 - see comment belownah
.. see reply to comment below, but feel free to keep discussing it0911
removenetwork.auth.subresource-img-cross-origin-http-auth-allow
network.auth.subresource-http-auth-allow
- 5bd5f6b1022
does it even do what we expect it to do? remove?1700
- add a recommendation for TC - d5ece0f2002
add test page - 778dc892302
add version tag - added in 32, enabled in 44 (still disabled in ESR60!) - 2373309That's right, the three wise "men" now all have emoji's 👖 🌏 🐈
PS: I don't think I missed anything, but feel free to add anything else minor. We can use this as a miscellaneous checklist.
🐈 said
I don't know what 🐈 is drinking, but I want some
The text was updated successfully, but these errors were encountered: