Open Bug 1281434 Opened 8 years ago Updated 1 month ago

Work towards blocking of HTTP authentication dialogs from subresources

Categories

(Core :: Networking: HTTP, defect, P3)

defect

Tracking

()

People

(Reporter: annevk, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Showing HTTP authentication dialogs from subresources is confusing to users. Personal example:

  https://twitter.com/annevk/status/745556336981708800

I think there is two things we can do towards addressing this right away:

1. Measure how often it takes place.
2. Indicate in the developer console that this is problematic UX-wise.

Then, depending on the numbers, we can maybe disable it altogether. We should also consider disabling it for new features (it's not disabled for fetch() mostly so that can preserve the existing functionality which is needed with service workers and such).

Arguably these dialogs are always confusing, but cross-origin with the address bar is much more problematic. We should measure that separately and consider disabling those first.
See bug 647010 for some history and background.

Is it possible to also measure subrequests that require authentication, but happen not to pop the dialog because the user already authenticated during the session?

We might skip the "measure and deprecate" steps for cross-origin loads since Chrome already blocks those.
Blocks: 647010
Whiteboard: [necko-next]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P2
See Also: → 1404744
See Also: → 1409818
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
See Also: → 1571003
Severity: normal → S3

Somewhat related to bug 32761, where we discuss blocking sending user:password@host in urls. Note the comments in bug 647010 and related bugs discuss that removing the http auth requester could allow silent brute-forcing of passwords; if there are no passwords that's tougher.

Severity: S3 → S4
Whiteboard: [necko-next] → [necko-triaged]
You need to log in before you can comment on or make changes to this bug.