This document describes how to store CSS screenshots or porn detection data in a COS bucket. You need to create a COS bucket, authorize CSS to store data in it, and then configure CSS screencapturing and porn detection settings in the CSS Console. After doing so, CSS screenshots and porn detection data can be stored in the bucket. (This feature is available in the new version of console.)
- The bucket name is "examplebucket" (excluding numbers on the right).
- The above information can be configured based on the actual needs of your business.
Grant the root account (ID: 3508645126) permission to store CSS screenshots.
i. Add a user for the bucket in Bucket List > Permission Management > Bucket Access Permission, select root account as user type , and enter the root account ID
You need to enter the root account ID
3508645126in the account ID field for authorization. (This root account is the CSS service, so it is sufficient to directly enter
ii. For more information on the bucket access permission setting API, please see PUT Bucket acl.
Get the information of the authorized COS bucket.
(1) You can view all the information of COS in the Basic Configuration section of the bucket. The access domain name (i.e., origin server domain name) contains bucket name, cos appid, and bucket region.