> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Dedicated OSS Object Storage

> Learn the release timelines and configuration steps for three object storage services: Alibaba Cloud OSS, Huawei Cloud OBS, and Inspur Cloud OSS. This page also covers security in DingTalk Dedicated network proxy mode, file storage setup, the environment requirements checklist, and FAQs to help you adopt these cloud storage solutions with confidence.

|                 | Alibaba Cloud OSS                                                                                                                                                                                                                                             | Huawei Cloud OBS                                                          | Inspur Cloud OSS                                                      |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| Available since | March 2022                                                                                                                                                                                                                                                    | June 2023                                                                 | November 2023                                                         |
| Reference       | [Alibaba Cloud OSS](https://www.aliyun.com/product/oss?spm=5176.21213303.5694434980.1.7a7553c9RFnxJE\&scm=20140722.S_card@@%E4%BA%A7%E5%93%81@@218843.S_card0.ID_card@@%E4%BA%A7%E5%93%81@@218843-RL_oss%E5%AF%B9%E8%B1%A1%E5%AD%98%E5%82%A8-OR_ser-V_2-P0_0) | Huawei [OBS object storage](https://www.huaweicloud.com/product/obs.html) | Inspur Cloud [OSS](https://cloud.inspur.com/product/storage/398.html) |

Three object storage options are supported: Alibaba Cloud OSS, Huawei Cloud OBS, and Inspur Cloud OSS.

## Product Configuration

In the YiDA admin console, go to **Platform management > Storage configuration** to configure database storage and file storage.

## File Object Storage

**Storage type**: Select Alibaba Cloud OSS, Huawei Cloud OBS, or Inspur Cloud OSS based on your organization's needs.

**Storage endpoint**: Uses the `bucket.endpoint` format by default.

**AccessKey (AK)**: The AccessKey issued by the storage provider.

**SecretKey (SK)**: The SecretKey issued by the storage provider.

### DingTalk Dedicated Network Proxy Mode

YiDA Dedicated works with the DingTalk Dedicated leased line mode. Through a customized network proxy, OSS connects directly to your organization's private storage and delivers more secure transmission at the network layer.

### Dedicated Environment Self-Check

* Run an availability test before you start using the database and OSS object storage in production.

## File Storage OSS Check Items

* Check in progress

* Check result (Success)

### Environment Requirements Checklist

| **Item**                     | **Configuration**                                                                                                                                                                                                                              | **Description**                                                                                                                                                                                                                                      |
| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **OSS type**                 | Select Alibaba Cloud OSS, Huawei Cloud OBS, or Inspur Cloud OSS.                                                                                                                                                                               | Three object storage types are currently supported: [Alibaba Cloud OSS](https://help.aliyun.com/zh/oss/?spm=a2c4g.11186623.0.0.5b4ede53HBHn6O), Huawei Cloud OBS, and [Inspur Cloud OSS](https://console1.cloud.inspur.com/document/oss/index.html). |
| **Network configuration**    | Enable public network access for OSS.                                                                                                                                                                                                          |                                                                                                                                                                                                                                                      |
| **Connectivity test**        | Use the connection test in the YiDA Dedicated configuration page to verify network connectivity.                                                                                                                                               | Verifies network connectivity.                                                                                                                                                                                                                       |
| **Cross-origin settings**    | Allow cross-origin requests from your organization's domain on YiDA. Set `Header` to `*`.                                                                                                                                                      | YiDA connects to OSS directly to upload and download files. Cross-origin access must be allowed for the feature to work.                                                                                                                             |
| **Hotlink protection check** | Check whether hotlink protection is enabled. If it is, configure a YiDA domain allowlist.<br />Allowlist referer: im.dingtalk.com<br />YiDA egress IPs:<br />• 106.11.0.0/16<br />• 203.119.128.0/17<br />• 59.82.0.0/16<br />• 140.205.0.0/16 | Hotlink protection blocks any request that is not in the allowlist.<br /><br />                                                                                                                                                                      |
| **Time server check**        | If your organization uses a time server, verify that its time is accurate.                                                                                                                                                                     | OSS requests are time-sensitive. YiDA uses a 30-second window, and expired requests are treated as invalid.                                                                                                                                          |

## FAQ

<AccordionGroup>
  <Accordion id="q1" title="Q: After I configure the organization's own OSS file object storage, is there still a limit on the attachment upload volume?">
    A:

    * Attachments uploaded from apps with dedicated storage enabled are stored directly in the organization's dedicated storage. (The total attachment volume for apps using cloud storage is still capped, but uploads to dedicated OSS are excluded from the platform-side quota calculation.) This safeguards organization data. The total attachment volume for apps using dedicated storage is limited only by the capacity of the organization's own OSS.
  </Accordion>

  <Accordion id="q2" title="Q: When dedicated storage is enabled and data is stored in the organization's own Alibaba Cloud database or OSS, does the YiDA platform back up this data?">
    No. Business data is stored directly in the organization's database or OSS space. YiDA does not store or back up this data, and the customer is responsible for keeping it secure.
  </Accordion>

  <Accordion id="q3" title="Q: Can dedicated OSS configuration items be edited or deleted?">
    OSS handles storage for critical business files. Switching the OSS storage medium after a successful configuration is not currently supported. Configure a valid dedicated OSS carefully to avoid data synchronization inconsistencies caused by frequent changes to the OSS storage endpoint.
  </Accordion>

  <Accordion id="q4" title="Q: After I enable dedicated OSS, why does an attachment upload return an invalid URL error?">
    A: Check whether the dedicated storage domain is valid. Dedicated OSS configuration only supports the `bucket + domain` format. Using `bucket + IP` causes attachment upload failures.
  </Accordion>

  <Accordion id="q5" title="Q: What differences and considerations apply to features after I enable dedicated OSS?">
    <table>
      <tr>
        <td rowSpan={2} />

        <td colSpan={2}>Dedicated OSS</td>
      </tr>

      <tr>
        <td>Before enabling</td>
        <td>After enabling</td>
      </tr>

      <tr>
        <td>**Storage medium**</td>
        <td>Public cloud shared storage service</td>
        <td>Can be stored in the multi-cloud OSS required by the organization<br />(Alibaba Cloud, Huawei Cloud, Inspur Cloud)</td>
      </tr>

      <tr>
        <td>**Basic statistics**</td>
        <td>Unified OSS statistics management is provided through the organization's basic information.</td>
        <td>For apps that use dedicated OSS, view statistics in the organization's dedicated operations tool.</td>
      </tr>

      <tr>
        <td>**Image component, attachment component**</td>
        <td>Cloud storage</td>
        <td>Dedicated storage ✅</td>
      </tr>

      <tr>
        <td>**Word template attachments**</td>
        <td>Cloud storage</td>
        <td>Not stored locally<br />(still cloud storage)</td>
      </tr>

      <tr>
        <td>**Cool App attachments, Cool Card attachments**</td>
        <td>Cloud storage</td>
        <td>Not stored locally<br />(still cloud storage)</td>
      </tr>

      <tr>
        <td>**Cool App Factory apps**</td>
        <td>Cloud storage</td>
        <td>Dedicated storage not supported</td>
      </tr>
    </table>
  </Accordion>
</AccordionGroup>
