Giter Site home page Giter Site logo

pedrolcl / forbidden-screenshot Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 67 KB

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

License: GNU General Public License v3.0

CMake 44.38% C++ 55.62%
confidential prtscr screenshot top-secret windows setwindowdisplayaffinity qt

forbidden-screenshot's Introduction

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 <[email protected]>

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

forbidden-screenshot's People

Contributors

pedrolcl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

hermixy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.