Step by step, following the numbers
- Your app or tool signs every request with its own access key. The secret is never sent with the request.
- The endpoint checks the key’s rules to see whether it may do that to that bucket and folder. If not, it answers
forbiddenorAccessDenied. - Anyone can open files in a public folder at
https://objects.thailandhosting.com/<region>/<bucket>/<file>. Good for images on a website. - Share a single file from a private folder with a link made through the API or an SDK. The link works only for that file and expires on its own within 7 days.
Example bucket layouts
| Job | How to set it up |
|---|---|
| Product images on a website | An images/ folder set to public · the app’s key can write only to this folder |
| Files customers upload | A private folder · show them to customers with share links |
| Backups from a server | A separate bucket · the backup machine’s key can write but not delete |
You pay for the storage you use, the number of requests and the data sent out. See current prices on the pricing page.