I need to prevent my users from print screening the data that my program displays. Right now the idea I have is to make it a full screen program, where probably calling any other linux shortcuts or applications is blocked, and the print screen key is blocked. Is this approach correct? How would I go about getting this done?
Update: My users are confined to not running a virtual machine, and they do not have cameras. They are also using the GNOME desktop environment.
Update: The systems are mine. I have just granted them temporary access, So the systems, or their operating systems will not be tampered with. They cannot plug in any USB devices, and the users are mostly quite unknowledgeable about linux.
But if you only want to block it for normal android devices, the SECURE FLAG is substantial. 1) The secure flag does block both normal screenshot and video capture. Window flag: treat the content of the window as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays.
How to Disable Screenshots feature on Android. STEP 01: Open the Ever Accountable app and click the "Settings" icon. STEP 02: Click "Turn Screenshots Off" under the "Device Settings" section. STEP 03: Toggle the Screenshots setting to the "off" position.
Disabling 'Right Click' on Images One common method to prevent image theft is simply to disable your website visitors' ability to right/alt-click on images to prevent them from directly saving your images.
A website can also know if you take a screenshot using the print screen button on your keyboard. However, if you use a program like the Snipping Tool, the website cannot tell you took one.
My approach would be to not use GNOME or any other multitasking window manager, but simply have your application be the only client of the X server in question. (Maybe together with a special windowmanager which puts the window in full screen, and logs out when the program is closed.)
Setup your X server so it does not accept any other connections, and/or deny your users the ability to start any other programs on your computer (e.g. no shell login).
This is impossible. You cannot block 'screenshotting' from every level.
For example, even if you somehow disabled the key binding, blocked the gnome-screenshot
utility, and so on, the user could still pipe the contents of the framebuffer device file to a file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With