Skip to content

Windows 7+ program that makes more difficult to take a screenshot

License

Notifications You must be signed in to change notification settings

pedrolcl/forbidden-screenshot

Repository files navigation

Windows 7+ program that makes more difficult to take a screenshot

From time to time, every developer has been requested to disable the "PrtScr" key on some bussiness application. This is justified by the user on some incident involving a screenshot of the appplication's window taken with the "PrtScr" key, and pasted on an email message which was sent to the outside world.

Because that key was involved, and looks like an easy target, the user designs its own solution and leaves you only the menial task of programming his brilliant idea.

Depending on who the user is and how much trust you have with him, you may show him the the existence of programs like the "Snipping Tool", or the Windows 10' "Snip & Sketch", to take screenshots without using the "PrtScr" key. And there is the danger of programs like Teams, with a screen sharing function, that may also unwantedly reveal information to outsiders.

Anyway, Raymond Chen has written about this issue that "Ultimately, you can’t stop somebody from ignoring the words Confidential at the top of a document and whipping out a digital camera and taking a picture of the screen. But at least starting in Windows 7 you can make it a little more difficult."

This is a Qt5/6 implementation. See also the Rust version.

Screenshot

SPDX-License-Identifier: GPL-3.0-or-later
Copyright (C) 2022 Pedro López-Cabanillas <plcl@users.sourceforge.net>

References:

How do I make it more difficult for somebody to take a screenshot of my window? (Raymond Chen)

Windows Confidential: What You See Is What You See (Raymond Chen)

SetWindowDisplayAffinity function (winuser.h)

Illustration: https://freesvg.org/top-secret-confidential-sticker License: CC0-1.0 Public Domain

Releases

No releases published

Packages

No packages published