Share objects
Last updated
Last updated
Address
VNG CorporationBy default, all objects in vStorage are private. Only the owners of these objects have access to them. However, object owners can optionally share them with other users by creating temporary URLs (here we provide you with 2 types of URLs, including:
Temporary URL: uses authentication information from your OpenStack Swift account.
Presigned URL: uses authentication information from your S3 key.
When you create a Temporary URL or Presigned URL for one of your objects, you must provide your security authentication information, then specify the container name, object name, and the expiration date and time of the corresponding URL. These URLs are only valid for the specified period. Anyone receiving these URLs can View or Download the object. We advise you to carefully consider the objects you want to share as well as the time you want to share your resources with those objects. For more details on securing URLs, see Access Control.
To share objects, follow the instructions below:
1. Log in to https://vstorage.console.vngcloud.vn. 2. Select the project and container, then choose one or more objects you want to share. 3. Choose or select the icon at the object you want to share and select . 4. Choose the Protocol as:
OpenStack Swift if you want to create a Temporary URL.
S3 if you want to create a Presigned URL.
5. Select Mode:
If the Protocol is OpenStack Swift, you can choose Mode as Download or View.
If the Protocol is S3, the Presigned URL path will be used by default to View the object.
6. If you choose the S3 Protocol, you need to enter the S3 key information here. S3 key information can be obtained in IAM. You can choose Click here to go to IAM and manage s3 keys. to view detailed information about created S3 key pairs and create new S3 key pairs for use. For more details, refer to Initializing S3 keys. 7. Enter the Expiration time you want to share the object, meaning the time the access path (Temporary URL) to the object is valid. You can limit the number of days, hours, and minutes that the access path to the object exists. 8. Choose Generate.
9. Choose to copy each URL for each object. We generate a separate URL for each object
If you share an object through Temporary URL or Presigned URL in View mode, you will receive a URL. Copy this URL and paste it into any browser you are using. When you paste the URL and open it:
If your browser supports directly opening this type of object, you can view the object directly in the browser. While the object is open in the browser, the expiration time of the URL is still counted. If your URL is still valid, you can right-click and download the object (download from the browser to your personal device rather than from vStorage to your personal device). If your URL has expired, you cannot right-click to download the object, and when you reload the browser, the displayed object data will also disappear.
If your browser does not support directly opening this type of object, we automatically switch the object sharing mechanism to Download, and the system will automatically download this object to your personal device.
For details on which browsers support directly opening this type of object, refer to: FileInfo.com - The File Format Database.
To share the entire object in a container, instead of creating multiple URLs for each object, you can share the entire container using the Turn container public feature. For details, see Make container public.
In addition to the traditional management interface, we also provide an API that allows you to integrate with your applications and tools using vStorage for data storage.
To obtain Temporary URL or Presigned URL for sharing objects through vStorage API, please refer to the API developers.
vStorage is also compatible with tools using the S3 protocol on your end. You can easily use familiar tools such as Rclone, s3cmd, Cyberduck, etc.
To obtain Temporary URL or Presigned URL for sharing objects through 3rd party software, please refer to the 3rd Party Softwares.
\