A Method of Embedding a Hidden Tracking Watermark in a Word Document
A document and watermark technology, applied in the field of information security, can solve problems affecting normal functions, unable to achieve watermark protection, etc., to avoid hidden watermark modification or deletion, and reduce the probability of detection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] Such as figure 1 As shown, Embodiment 1 of the present invention provides a method for embedding a hidden tracking watermark in a Word document, which can be provided to the program language interface (such as the operation interface provided to the C# language) by means of Word, or can be based on the file's The format directly modifies its content (such as directly modifying the hexadecimal content), which specifically includes the following steps:
[0046] S1: Add a bookmark in the Word document, add the watermark content to the bookmark, and set it as hidden; the watermark content is a URL string, and the URL string contains a random string of
[0047] S2: replace the bookmark with an InlineShape object, and set the InlineShape object to be invisible; the InlineShape object can be a picture object or an OLE object;
[0048] S3: Convert the InlineShape object into a Shape object, and place the Shape object at a random position in the edge area outside the text.
...
Embodiment 2
[0051] Such as figure 2 As shown, this embodiment 2 provides a method for embedding a hidden tracking watermark in a Word document on the basis of embodiment 1, and this embodiment 2 further defines that the step S2 includes the following steps:
[0052] S2.1: Locating the bookmark and selecting the bookmark;
[0053] S2.2: replace the bookmark with an InlineShape object;
[0054] S2.3: Set the size of the InlineShape object to 0, that is, Width=0 and Height=0.
[0055] Through the above operations, the InlineShape object is made invisible, which avoids affecting the display of the original file page.
[0056] The step S2 may also include the following steps:
[0057] S2.4: Set the TransparentBackground of the InlineShape object to True.
[0058] Through the above operations, set the InlineShape object to be transparent to further make the watermark invisible.
[0059] In the step S3, the method for placing the Shape object at a random position in the outer edge region of ...
Embodiment 3
[0061] Such as image 3 As shown, this embodiment 3 provides a method for embedding a hidden tracking watermark in a Word document on the basis of embodiment 1, and this embodiment 3 further defines that the method also includes the following steps:
[0062] S4: When the Word document is modified and the modification is saved, delete the original bookmark in the Word document, and add a new bookmark, the new bookmark contains the original URL string;
[0063] S5: Process the new bookmark according to the method described in steps S2 and S3, and place the new bookmark at a random position in the outer edge area of the text.
[0064] Every time the Word document is modified, a new bookmark is regenerated, and each new bookmark is randomly placed at a different position on the outer edge of the text, thereby reducing the probability of the watermark being detected by the detection software through the fixed position detection method.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


