A method and apparatus for preventing data leakage from a clipboard
A technology of data leakage and clipboard, which is applied in the direction of multi-program device, digital data protection, electronic digital data processing, etc., can solve data leakage and other problems, achieve the effect of preventing copying and improving security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] figure 1 It is a schematic flowchart of a method for preventing data leakage of a clipboard according to an embodiment of the present invention. In this embodiment, applications are divided into applications that need to protect the contents of the clipboard and applications that do not need to protect the contents of the clipboard. Regardless of whether it is an application that needs to protect the clipboard content and does not need to protect the clipboard content, when the copy operation is performed, the system clipboard setting function is called to set the copy content. When the paste operation is executed, for applications that need to protect the clipboard content, the system clipboard is still called to paste; for applications that do not need to protect the clipboard content, through the pre-injected HOOK interception with DLL injection, the internal code of HOOK is executed. Get the contents of the system clipboard. Such as figure 1 Said, the method include...
Embodiment 2
[0031] figure 2 It is a schematic block diagram of a device for preventing data leakage of a clipboard according to an embodiment of the present invention.
[0032] Such as figure 2 As shown, the device 20 includes an injection module 22, which is used to inject the HOOK code into an application that does not need to protect the contents of the clipboard by means of dynamic link library DLL injection and execution. The device 20 also includes a clipboard content setting module 24, which is used to place content on the system clipboard by calling a system clipboard setting function (for example, the SetClipboardData function) when the application is performing a copy operation.
[0033] The device 20 further includes a clipboard content acquisition module 26, which includes a judgment module 28 connected to the injection module 22 and a return module 30 connected to the judgment module 28. The judging module 28 is used for judging whether the application program is an application ...
Embodiment 3
[0038] image 3 It is a schematic flowchart of a method for preventing clipboard data leakage according to another embodiment of the present invention.
[0039] In this embodiment, a method of injecting and executing HOOK code by the dynamic link library DLL is used in advance to inject the HOOK code in the application process.
[0040] When the application starts the copy operation, before the application calls the system clipboard setting function and prepares to use the system clipboard, intercept through HOOK, execute the code inside HOOK, and enter the clipboard setting function inside HOOK. This function It can set the format and content of the clipboard inside HOOK, and place the format and content in the queue inside the HOOK accordingly, so as to avoid calling the original system clipboard setting function.
[0041] When the application starts the paste operation, before the application calls the system clipboard acquisition function and prepares to use the system clipboard,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com