# Make container private

vStorage supports the default Private container mode for each container. This mode is used when you need to switch from Public container mode to Private container mode. The feature to switch from Public container mode to Private container mode is called **Private container**. **Private container** is a feature that allows users to stop publicly sharing a container in the cloud computing environment. You will not be able to access the container via a URL without access authentication.

Use vStorage Portal

1\. Log in to [https://vstorage.console.vngcloud.vn](https://vstorage.console.vngcloud.vn/).

2\. Select the **project** and choose the **container** you want to switch to private mode.

3\. Click ![](https://docs.vngcloud.vn/download/thumbnails/67994111/image2023-3-6_10-24-4.png?version=1\&modificationDate=1700711635000\&api=v2) or click on the icon ![](https://docs.vngcloud.vn/download/thumbnails/67994111/image2023-2-6_10-20-54.png?version=1\&modificationDate=1700711635000\&api=v2)at the container you want to modify using the Private container feature and choose ![](https://docs.vngcloud.vn/download/thumbnails/67994111/image2023-11-23_10-57-55.png?version=1\&modificationDate=1700711876000\&api=v2).

4\. The **Make private** screen will appear. Click on **Make private.**

After completing these 4 steps, the Private container feature will be activated. Private access is granted to the container and objects through the Access Control List (ACLs). This setting restricts access to all objects within the container to individuals with specific access rights as defined in the Access Control List (ACLs).

***

Use vStorage API

In addition to the traditional management interface, we also provide an API that allows you to integrate with your user-facing applications and tools using vStorage for data storage.

To switch a container to private mode via vStorage API, please refer to the [API developers](https://docs.vngcloud.vn/display/VSEN/API+developers).


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vstorage/object-storage/vstorage-hcm03/features-of-vstorage/working-with-containers/make-container-private.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
