Add enable and disable URL lists for DLP
Categories
(Firefox :: Data Loss Prevention, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: gstoll, Assigned: handyman)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
There should two preferences:
- An enable list of regular expression-like strings that indicate if the browser is at this URL it needs to check for DLP
- A disable list of regular expression-like strings that indicate if the browser is at this URL it does not need to check for DLP
If a URL matches neither enable nor disable, do not check for DLP. If a URL matches both enable and disable, do not check for DLP.
Note that for performance reasons this should be applied before Firefox does any extra DLP-related work like calculating a file hash or printing a PDF version of a document.
Assignee | ||
Comment 1•1 year ago
|
||
This case creates a new condition -- we would normally return a ContentAnalysisResponse
here, and we can still do that but then we need to also make sure that the Acknowledge
isn't sent to the agent (which is easy for auto-acknowledge). Otherwise we would want to return an "error" like we do with the cancel button.
Assignee | ||
Comment 2•1 year ago
|
||
Check the URLs in the request against the prefs
browser.contentanalysis.allow_url_regex_list and
browser.contentanalysis.deny_url_regex_list, which are space-separated
lists of ECMAscript regexs that match against ASCII-encoded URLs.
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Would be nice to check all of AnalyzeContentRequest but proper CA unit tests
are still wip.
Depends on D203508
Comment 6•1 year ago
|
||
Backed out 3 changesets for causing gtest failures on ContentAnalysisTest.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=450127124&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/e891ca1ff7cb
Assignee | ||
Comment 7•1 year ago
|
||
Comment 9•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fe880c75c428
https://hg.mozilla.org/mozilla-central/rev/1617e8ac8baa
Description
•