简体   繁体   English

网络应用程序-是否可以禁用Windows + Printscreen?

[英]web app- Would it be possible to disable Windows+Printscreen?

I am trying to prevent users from taking screenshot in my web application written in Java.From my research,it seems highly unlikely.I did found a link below: 我试图阻止用户在用Java编写的Web应用程序中截屏。从我的研究看来,这似乎不太可能。我确实找到了以下链接:

https://stackoverflow.com/questions/3130983/stop-user-from-using-print-scrn-printscreen-key-of-the-keyboard-for-any-we

It's able to disable the printscreen button but it doesn't disable if a user tries to use windows+printscreen.Now, I know even if I do managed to disable it, there's other third party application like snipping tools,camera,etc to take a screenshot but that's way beyond my control and I'm not looking into those. 它可以禁用printscreen按钮,但是如果用户尝试使用Windows + printscreen则不能禁用。现在,我知道即使我设法禁用了它,还有其他第三方应用程序,例如截图工具,相机等屏幕快照,但是那超出了我的控制范围,因此我不会对此进行研究。

I was just wondering is there a way to disable Win+Printscreen to prevent user from screenshotting? 我只是想知道是否有一种方法可以禁用Win+Printscreen以防止用户截屏?

If anyone has done it before, I appreciate any sort of suggestion. 如果有人以前做过,我很感谢任何建议。

Simple answer: No 简单答案:否

Have a quick think about why you need to hide this info, does it really matter if other people see it? 快速思考一下为什么需要隐藏此信息,如果其他人看到了,这真的有关系吗? I assume that you have proof that you came up with your conclusion/process first? 我假设您有证据证明您首先提出了结论/过程? The information will never remain exclusive forever, especially not on the internet. 这些信息永远不会永远保持排他性,尤其是在互联网上。

You normally do not have access to higher level controls so it is normally not possible with a web app. 您通常无权访问更高级别的控件,因此使用Web应用程序通常是不可能的。 Having said that, there are several possible ideas: 话虽如此,有几种可能的想法:

  1. Send your content directly to the graphics device/card via an API so that it is never visible to the operating system screen space (Where print screen works). 通过API将您的内容直接发送到图形设备/卡,以使它对操作系统屏幕空间(在打印屏幕有效的地方)永远不可见。 However, with the right tools it is still possible to catch a graphics stream but it's a little harder for the average user. 但是,如果使用正确的工具,仍然可以捕获图形流,但是对于普通用户而言,这有点困难。

  2. Make your webapp launch a custom desktop application with more control over the OS (Download an exe and run it?) 使您的Web应用程序启动具有对操作系统更多控制权的自定义桌面应用程序(下载exe并运行它?)

  3. Design a plugin/extension for a web browser that limits the use of printScreen, and then only show content on your webapp if your site can see that the plugin/extension is installed and running. 为限制使用printScreen的Web浏览器设计一个插件/扩展名,然后仅在您的站点可以看到该插件/扩展名已安装并正在运行时,才在Webapp上显示内容。 This may not work with the way that Chrome and Firefox now manage plugins, it would need more investigation. 这可能不适用于Chrome和Firefox现在管理插件的方式,这需要更多调查。

  4. The best answer would be to only show limited info/conclusions on your webapp, and keep all the proof of concept hidden. 最好的答案是仅在您的Web应用程序上显示有限的信息/结论,并隐藏所有概念证明。 Then you can make people sign-up to your app if they want more information, and then give a strict set of criteria that must be met. 然后,如果人们需要更多信息,则可以使他们注册您的应用程序,然后提供一组必须满足的严格标准。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM