跳到主要内容

Data Storage

Applications such as mobile apps, websites, and HTML5 pages often require efficient and scalable storage solutions.

Conversant OSS supports seamless integration with various application types by providing SDKs in multiple programming languages, enabling flexible and secure object storage for data upload and access.

Steps:
  1. Go to Buckets and click Create Bucket. Enter a bucket name (e.g., static-web-example) and click Create Bucket.
  2. Click Credentials, go to the credentials page, and click Create Credential. Select the permission level and save the Secret Key for future access to OSS.
  3. Configure CORS (Cross-Origin Resource Sharing) rules for the bucket. Configure the CORS for the bucket through the AWS SDK PutBucketCors API.
  4. Configure the server to provide an API for generating pre-signed URLs, allowing users to upload and download files within a configured time window.
  5. Configure the web front end to send an HTML form request to the server, obtain the pre-signed URL, and use it to upload files to OSS.
  6. Use the pre-signed URL to access files (e.g., images) stored in OSS.