Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

File Watermarks

Updated on 2025-02-18 GMT+08:00
This section describes the following operations on file watermarks:
  • Insert invisible watermarks into structured data files (CSV, XML, and JSON files) and extract the watermarks.
  • Insert visible watermarks into unstructured data files (DOCX, PPTX, XLSX, and PDF files) and open the files on a local host to view the watermarks.

Constraints

  • Invisible watermarks can be inserted into and extracted from structured data files that are no longer than 4 MB.
  • Visible watermarks can be inserted into unstructured data files that are no longer than 20 MB.
  • Watermarks cannot be injected into files that already contain watermarks.
  • The data in structured data files into which watermarks are to be inserted must meet the following requirements:
    • The source data must contain 5,000 or more lines. If the source data contains less than 5,000 lines, watermarks may fail to be extracted due to insufficient features.
    • You are advised to select a column with various data values. If all the values of the column can be enumerated, the extraction may fail due to insufficient features. Common columns that can be embedded with watermarks include the address, name, UUID, amount, and total amount.
    • If a watermark is inserted into a numeric integer field, the data may be modified. Insert watermarks into a field whose value can be changed.
  • Watermark extraction from structured data files is irrelevant to the source tracing tasks using data watermarks. Only users under the same account can extract watermarks from structured data files into which watermarks have been inserted by following the instructions in Inserting a Watermark or Dynamic Watermarks.

Inserting a Watermark

  1. On the DataArts Studio console, locate a workspace and click DataArts Security.
  2. In the left navigation pane, choose File Watermarks.

    Figure 1 Accessing the File Watermarks page

  3. Set the parameters listed in Table 1.

    Table 1 Parameters for inserting a watermark

    Parameter

    Description

    *Data Type

    Select a file type.

    • Structured data: CSV, XML, and JSON. You can insert an invisible watermark into a file and extract the watermark.
    • Unstructured data: DOCX, PPTX, XLSX, and PDF You can insert a visible watermark into a file and open the file to view the watermark.

    Structured data

    *Watermark Content

    Watermark ID that will be embedded by the system into data tables. The watermark ID can contain a maximum of 16 characters.

    *Data

    CSV, XML, or JSON files are supported.

    *Field

    Fields into which the watermark is to be inserted.

    Unstructured data

    *Watermark Content

    Watermark ID that will be embedded by the system into data tables. The watermark ID can contain a maximum of 16 characters.

    Transparency

    Transparency of the plaintext watermark

    Rotation Angle

    Rotation angle of the plaintext watermark

    Font Size

    Font size of the plaintext watermark

    *Data

    DOCX, PPTX, XLSX, and PDF files are supported.

  4. Click Insert Watermark. The browser automatically downloads the inserted file.

    You can click Reset to restore the parameters to default settings.

Extracting a Watermark

You can extract invisible watermarks that have been inserted into structured data files in CSV, XML, or JSON format. For details about watermark insertion, see Inserting a Watermark.

  1. On the DataArts Studio console, locate a workspace and click DataArts Security.
  2. In the left navigation pane, choose File Watermarks. In the right pane, click the Watermark Extraction tab.

    Figure 2 Accessing the Watermark Extraction page

  3. Set the parameters listed in Table 2.

    Table 2 Parameters for extracting a watermark

    Parameter

    Description

    *Data Type

    File type. Only CSV, XML, and JSON are supported.

    You can insert an invisible watermark into a file of any preceding type and extract the watermark.

    *Watermark Content

    You do not need to set this parameter. The extracted watermark will be automatically displayed.

    *Data

    Select the structured data file in CSV, XML, or JSON format into which an invisible watermark has been inserted based on Inserting a Watermark.

  4. Click Extract Watermark. The extracted watermark is displayed in the Watermark Content parameter.

    You can click Reset to restore the parameters to default settings.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback