mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
47.23k stars 9.83k forks source link

Draw tool should warn users that it shouldn't be used for redaction #18203

Open foxt opened 1 month ago

foxt commented 1 month ago

Some users may use the draw tool incorrectly assuming the content obscured by any drawing has been entirely removed from the document. This may pose a security/privacy risk to those using it as there is no indication to suggest otherwise. I think a notice should be included to ensure users are aware that the markings created using the draw tool can be removed.

image

For reference, using the Markup tool in the macOS Preview application generates a similar warning image

renatoyamane commented 1 month ago

Good approach 👍 At least on my experience, when asked for ordinary users, most of them believe the draw feature can hide the content of the text under the area "brushed" with this tool as per the report on https://bugzilla.mozilla.org/show_bug.cgi?id=1898195