Screen capture prevention method based on program windows
暂无分享,去创建一个
The invention belongs to the technical field of computer information safety, in particular to a screen capture control method. The screen capture prevention method based on program windows includes the following steps of firstly, conducting API calling tracking on operation of all application software, judging whether the operation is screen capture operation or not, and conducting no processing if the operation is not the screen capture operation; secondly, judging whether the windows of protected files exists in all the current windows on the desktop or not if the operation is the screen capture operation, and conducting no processing if the windows of the protected files do not exist in the current windows on the desktop; thirdly, allowing the application software to continue executing the screen capture operation so as to obtain a screenshot of the desktop if the windows of the protected files exist in all the current windows on the desktop, redrawing the screenshot of the desktop, shielding the windows of all the protected files so as to obtain a picture in which the windows of the protected files are blackened and the windows of other files are normally displayed, and replacing the screenshot with the picture. By means of the method, third-party software can be effectively prevented from shooting the picture of the windows of the protected files, and meanwhile operation habits of a user and the normal screenshot, obtained through the third-party software, of the windows of the unprotected files are reserved.