Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedrolcl/forbidden-screenshot
Windows 7+ program that makes more difficult to take a screenshot
https://github.com/pedrolcl/forbidden-screenshot
confidential prtscr qt screenshot setwindowdisplayaffinity top-secret windows
Last synced: 19 days ago
JSON representation
Windows 7+ program that makes more difficult to take a screenshot
- Host: GitHub
- URL: https://github.com/pedrolcl/forbidden-screenshot
- Owner: pedrolcl
- License: gpl-3.0
- Created: 2022-06-10T14:09:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-23T21:20:50.000Z (about 2 years ago)
- Last Synced: 2024-11-28T17:02:30.905Z (3 months ago)
- Topics: confidential, prtscr, qt, screenshot, setwindowdisplayaffinity, top-secret, windows
- Language: C++
- Homepage:
- Size: 65.4 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/pedrolcl/rust-forbidden-screenshot).
![Screenshot](screenshot.png)
SPDX-License-Identifier: GPL-3.0-or-later
Copyright (C) 2022 Pedro López-CabanillasReferences:
[How do I make it more difficult for somebody to take a screenshot of my window? (Raymond Chen)](https://devblogs.microsoft.com/oldnewthing/20130603-00/?p=4193)
[Windows Confidential: What You See Is What You See (Raymond Chen)](https://docs.microsoft.com/en-us/previous-versions/technet-magazine/hh241037(v=msdn.10)?redirectedfrom=MSDN)
[SetWindowDisplayAffinity function (winuser.h)](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowdisplayaffinity)
Illustration: https://freesvg.org/top-secret-confidential-sticker
License: [CC0-1.0 Public Domain](https://creativecommons.org/publicdomain/zero/1.0/)