Help Center/ Data Security Center/ User Guide/ Data Asset Protection/ Data Watermarking/ Injecting or Extracting Document Watermarks
Updated on 2025-08-12 GMT+08:00

Injecting or Extracting Document Watermarks

The DSC console allows you to inject custom watermarks into PDF, PPT, Word, and Excel documents. This section explains how to inject these watermarks in local documents or cloud documents (those stored in OBS buckets).

Invisible watermarks are, as the name suggests, invisible and require specific tools for extraction. On the DSC console, you can extract watermarks from PDF, PPT, Word, and Excel files. For detailed instructions on extracting watermarks from either cloud documents (in an OBS bucket) or local documents, refer to the "Extracting Watermarks" section.

Prerequisites

Constraints

Video Tutorial

Injecting or Extracting Document Watermarks

To inject data watermarks to or extract them from a document, perform the following operations.

  1. Log in to the DSC console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane, choose Data Asset Protection > Document Watermarking.
  4. Click Create Task in the upper left corner of the task list to create a task.
  5. Set the parameters shown in Table 1.

    Table 1 Task parameters

    Parameter

    Description

    Task Name

    Enter the watermark ingestion task name. The value can contain only letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.

    Select File

    Click Add File. In the right pane, select the name of the bucket to which you want to add a watermark. In the left pane, select a file. You can select multiple files.

    Watermark Type

    Both visible and invisible watermarks are supported. You can select multiple values.

    Target Path

    Click selecting a file path, and select the watermarked file.

    Configure Visible Watermark

    Set the Watermark Type to Visible Watermark. Then, enter the watermark content and drag the slider to set the Text, Font Size, Font Angle, Sparseness, and Transparency.

    Configure Invisible Watermark

    This parameter is mandatory when Watermark Type is set to Invisible.

    Set Text as required.

    Figure 1 Inserting Watermarks

  6. Click OK. A message is displayed in the upper right corner, indicating that the watermark injection task is created successfully.
  7. In the watermark task list, click the task name to view the task running status.

    • Running: You can view the progress of the watermark ingestion task.
    • Finished: You can click Download in the Operation column to download the watermarked OBS bucket file.
    • Failed: The watermark injection task fails to be executed. You can move the cursor to to view the failure cause.

  8. If the injected watermark is a visible watermark, click Download to obtain the watermark file.

    If you injected an invisible watermark, extract the watermark from the target document using tools. For details, see Extracting Watermarks from an OBS Bucket Document and Extracting Watermarks from Local Files.

  1. Log in to the DSC console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane, choose Data Asset Protection > Document Watermarking.
  4. Click the Local File tab. The Watermark Injection page is displayed.
  5. Click Select File, and select the file to which the watermark is to be injected.
  6. After the file is uploaded, configure related parameters. Table 2 describes the related parameters.

    Table 2 Watermarking parameters

    Parameter

    Description

    Watermark Type

    Both visible and invisible watermarks are supported. You can select multiple values.

    Configure Visible Watermark

    Set the Watermark Type to Visible Watermark. Then, enter the watermark content and drag the slider to set the Text, Font Size, Font Angle, Sparseness, and Transparency.

    Configure Invisible Watermark

    This parameter is mandatory when Watermark Type is set to Invisible.

    Set Text as required.

    Figure 2 Creating a Local File Data Injection Task

  7. After parameters are configured, click OK. The file with watermark injected is automatically downloaded to the specified path on the local PC.

  1. Log in to the DSC console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane on the left, choose Data Asset Protection > Document Watermarking.
  4. Click the Watermark Extraction tab. The Watermark Extraction page is displayed.
  5. Click Create Task in the upper left corner. The Create Task page is displayed.
  6. Click Upload File to select the file from which you want to extract watermarks. You can select multiple OBS bucket files.
  7. Click OK. The watermark extraction task is created.
  8. Click the target task name. In the page displayed on the right, view the watermark extraction task status and the invisible watermark content of the OBS bucket file.

    • Running: You can view the progress of the watermark extraction task.
    • Completed: The watermark content is displayed in the Invisible Watermarks column. If there are no invisible watermarks, -- is displayed.
    • Failed: The watermark extraction task fails to be executed. You can move the cursor to to view the failure cause.

  1. Log in to the DSC console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane on the left, choose Data Asset Protection > Document Watermarking.
  4. On the displayed page, choose Local > Extract Watermark. The Extract Watermark page is displayed.
  5. Upload the local document from which you want to extract the watermark text.

    Only PDF, PPT, Word, and Excel documents are supported.

  6. After the file is uploaded, click OK. The invisible watermark content is displayed in the dialog box.