> For the complete documentation index, see [llms.txt](https://docs.higiocloud.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.higiocloud.vn/hi-gio-user-guide-vn/hi-gio-s3-storage/quan-ly-tep-thu-muc/lay-lien-ket-tai-xuong-cua-tep.md).

# Lấy liên kết tải xuống của tệp

## <mark style="color:green;">**Tổng quan**</mark> <a href="#overview" id="overview"></a>

Để tải xuống files từ HI GIO S3, hãy tạo một pre-signed URL. Liên kết này cung cấp quyền truy cập tạm thời, cho phép người dùng tải xuống files một cách an toàn mà không cần thông tin đăng nhập HI GIO S3.

## <mark style="color:green;">Quy trình</mark>

{% stepper %}
{% step %}
Bước 1: Nhấp chuột phải vào File bạn cần lấy liên kết và chọn “**Public Sharing**”.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/2cyGqku9JBJ05Sxf8vAR/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Bước 2: Trong HI GIO S3, bạn có thể đặt chế độ chia sẻ của các objects thành **Private** hoặc **Public**.

* **Private Mode**: Tất cả các buckets và objects của HI GIO S3 đều ở chế độ private theo mặc định. Chỉ chủ sở hữu bucket có quyền truy cập, đảm bảo an toàn dữ liệu.
* **Get link download** option: URL này cấp quyền truy cập tạm thời vào file private, cho phép người dùng tải xuống mà không cần thông tin đăng nhập HI GIO S3 trong vòng 60 phút.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/Yw6i0zMivYjoqN5i4uO8/image.png" alt=""><figcaption></figcaption></figure>

* **Public Mode**: Nếu bạn muốn chia sẻ các objects công khai, bạn có thể cấu hình quyền của bucket hoặc object để cho phép truy cập công khai. Điều này cho phép bất kỳ ai có liên kết đều có thể xem hoặc tải xuống các files. Cần sử dụng chế độ này một cách thận trọng để tránh truy cập trái phép vào dữ liệu nhạy cảm.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/QDma9ZDVHsf8MOmIFiaf/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.higiocloud.vn/hi-gio-user-guide-vn/hi-gio-s3-storage/quan-ly-tep-thu-muc/lay-lien-ket-tai-xuong-cua-tep.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
