Closed Bug 1239836 Opened 10 years ago Closed 2 months ago

Application Reputation should honor browser.safebrowsing.allowOverride

Categories

(Toolkit :: Safe Browsing, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1894373

People

(Reporter: francois, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file, 1 external file)

The browser.safebrowsing.allowOverride pref was added in bug 1226490 to disable users' ability to ignore Safe Browsing warnings. We should disable the "unblock" action on downloaded malware when that pref is enabled.
Priority: -- → P5
Keywords: good-first-bug
Priority: P5 → P3
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Assignee: nobody → 1991manish.kumar

Essentially, if that pref is enabled, then the UI for ignoring a blocked download should not be available.

If you have any other questions, please NI :dimi since I'm no longer working on Firefox.

Flags: needinfo?(francois)

:dimi

(In reply to Manish [:manishkk] from comment #2)

What exactly I need to do in this bug?

https://searchfox.org/mozilla-central/search?q=browser.safebrowsing.allowOverride&case=false&regexp=false&path=

Flags: needinfo?(dlee)

(In reply to Manish [:manishkk] from comment #4)

:dimi

Comment 3 by Francois already explained the idea of this bug, if you still have any question, you can ask and ni me again

Flags: needinfo?(dlee)

(In reply to Manish [:manishkk] from comment #6)

I got only these 2 lines where pref is true.

https://searchfox.org/mozilla-central/source/browser/components/safebrowsing/content/test/browser_bug400731.js#50
https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#5596

These should be 'false' or anything else?

No, this bug doesn't mean to change the preference. Instead, we should honor the value of the preference.
That means you will need to find out where to disable the UX checkbox to "uncheck block download"

Flags: needinfo?(dlee)
Assignee: 1991manish.kumar → nobody

Hello, May I work on this?

Which checkbox exactly are we talking about here?

Flags: needinfo?(dlee)
Attached image checbox.png —

Is it this?

Assignee: nobody → gaurijove

(In reply to Jayati Shrivastava from comment #10)

Created attachment 9138299 [details]
checbox.png

Is it this?

Yes! Thank you for your help

Flags: needinfo?(dlee)
Attachment #9138335 - Attachment description: Bug 1239836 - Do not let user uncheck "Block dangerous and deceptive content" and related heckboxes when safe browsing override is disabled. r=dimi → Bug 1239836 - Do not let user uncheck "Block dangerous and deceptive content" and related checkboxes when safe browsing override is disabled. r=dimi

This good-first-bug hasn't had any activity for 6 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: gaurijove → nobody
Status: REOPENED → NEW
Severity: normal → S3

The request in comment 0 — not offering the unblock action on a blocked download when browser.safebrowsing.allowOverride is false — landed in bug 1894373 ("Setting DisableSecurityBypass->Safebrowsing to false should remove the 'Allow download' button"), fixed 2026-05-27.

Current state in mozilla-central:

Note that comment 7 onwards drifted toward a different ask: disabling the "Block dangerous and deceptive content" checkboxes in about:preferences. That is separate from comment 0, and enterprise policy already locks those prefs (Policies.sys.mjs#1321). If it is still wanted, it should be filed as its own bug rather than kept here.

Status: NEW → RESOLVED
Closed: 8 years ago → 2 months ago
Duplicate of bug: 1894373
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: