All Products
Search
Document Center

MaxCompute:ProjectProtection

Last Updated:Apr 23, 2025

Enables or disables project data protection. You are allowed to access data only in projects. Data can be transferred only between trusted projects. This enhances data security.

Limits

Execute the statements described in this topic on the MaxCompute client. This statement is a CMD statement and can only be executed on the MaxCompute client (odpscmd).

Syntax

set ProjectProtection={True|False};

Example

Disables project data protection.

set ProjectProtection=False;

Related statements

  • ADD TRUSTEDPROJECT: Adds a trusted project to the current project. This ensures smooth data transfer between trusted projects.

  • LIST TRUSTEDPROJECTS: Views the trusted projects that have been added to the current project.

  • REMOVE TRUSTEDPROJECT: Removes an existing trusted project from the current project.