{"id":21905316,"url":"https://github.com/pedrolcl/rust-forbidden-screenshot","last_synced_at":"2026-04-27T18:33:12.258Z","repository":{"id":128908070,"uuid":"581654182","full_name":"pedrolcl/rust-forbidden-screenshot","owner":"pedrolcl","description":"Windows 7+ program that makes more difficult to take a screenshot implemented in Rust","archived":false,"fork":false,"pushed_at":"2022-12-23T21:09:14.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-12T05:41:03.311Z","etag":null,"topics":["confidential","prtscr","screenshot","setwindowdisplayaffinity","top-secret","windows"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedrolcl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-23T21:08:07.000Z","updated_at":"2024-06-25T15:05:08.000Z","dependencies_parsed_at":"2023-05-21T08:30:39.302Z","dependency_job_id":null,"html_url":"https://github.com/pedrolcl/rust-forbidden-screenshot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pedrolcl/rust-forbidden-screenshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2Frust-forbidden-screenshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2Frust-forbidden-screenshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2Frust-forbidden-screenshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2Frust-forbidden-screenshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrolcl","download_url":"https://codeload.github.com/pedrolcl/rust-forbidden-screenshot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2Frust-forbidden-screenshot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32349627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["confidential","prtscr","screenshot","setwindowdisplayaffinity","top-secret","windows"],"created_at":"2024-11-28T16:32:44.526Z","updated_at":"2026-04-27T18:33:12.241Z","avatar_url":"https://github.com/pedrolcl.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows 7+ program that makes more difficult to take a screenshot\n\nFrom time to time, every developer has been requested to disable the \"PrtScr\" key on some bussiness application.\nThis is justified by the user on some incident involving a screenshot of the appplication's window \ntaken with the \"PrtScr\" key, and pasted on an email message which was sent to the outside world. \n\nBecause that key was involved, and looks like an easy target, the user designs its own solution and leaves you\nonly the menial task of programming his brilliant idea. \n\nDepending on who the user is and how much trust you have with him, you may show him the the existence of programs \nlike the \"Snipping Tool\", or the Windows 10' \"Snip \u0026 Sketch\", to take screenshots without using the \"PrtScr\" key.\nAnd there is the danger of programs like Teams, with a screen sharing function, that may also unwantedly reveal information to outsiders.\n\nAnyway, Raymond Chen has written about this issue that \"Ultimately, you can’t stop somebody from ignoring the words \nConfidential at the top of a document and whipping out a digital camera and taking a picture of the screen. \nBut at least starting in Windows 7 you can make it a little more difficult.\"\n\nThis is a rust implementation. See also [the Qt/C++ version](https://github.com/pedrolcl/forbidden-screenshot)\n\n    SPDX-License-Identifier: GPL-3.0-or-later\n    Copyright (C) 2022 Pedro López-Cabanillas \u003cplcl@users.sourceforge.net\u003e\n\nReferences:\n\n[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)\n\n[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)\n\n[SetWindowDisplayAffinity function (winuser.h)](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowdisplayaffinity)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrolcl%2Frust-forbidden-screenshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrolcl%2Frust-forbidden-screenshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrolcl%2Frust-forbidden-screenshot/lists"}