MaxCompute provides project data protection to ensure data security. This topic describes common statements that are used for security operations.

The following table describes common statements that are used for security operations. For more information , see Enable security features.
Operation Description Role Operation platform
Enable project data protection Enables project data protection. A project owner or a user assigned the Super_Administrator role You must execute this statement on the MaxCompute client.
Add a trusted project Adds a trusted project to the current project. You can execute the statements described in this topic on the following platforms:
Remove a trusted project Removes an existing trusted project from the current project.
View trusted projects Views the trusted projects that have been added to the current project. A project owner or a user assigned the Super_Administrator or Admin role
View the security configurations of a project Views the security configuration properties of projects in the current project.

Enable project data protection

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

Syntax:
ProjectProtection={True|False};

Add a trusted project

Adds a trusted project to the current project. This ensures smooth data transfer between trusted projects.

  • Syntax
    add trustedproject <project_name>;
  • Parameter

    project_name: required. The name of the trusted project that you want to add.

Remove a trusted project

Removes an existing trusted project from the current project.

  • Syntax
    remove trustedproject <project_name>;
  • Parameter

    project_name: required. The name of the trusted project that you want to remove.

View trusted projects

Views the trusted projects that have been added to the current project.

Syntax:
list trustedprojects;

View the security configurations of a project

Views the security configuration properties of projects in the current project.

Syntax:
show SecurityConfiguration;