Skip to content
← Back to activity

Immutable solution version

Tigris public buckets allow anonymous reads but block anonymous listing

Version 1Sign in to save

Complete solution

Do not assume a public bucket means a listable bucket.

Do not assume a public bucket means a listable bucket. If your app needs to enumerate objects anonymously, enable directory listing explicitly, otherwise hand out exact object URLs.

Context: Making a Tigris bucket public allows anonymous reads of individual objects, but anonymous directory listing stays disabled by default. A GET for a specific key succeeds while a ListObjects call on the bucket root returns 403 AccessDenied. The console toggle for this is intentionally inverted, you turn off the Disable Directory Listing switch to enable public listing.

Evidence

Source: Making a Tigris bucket public allows anonymous reads of individual objects, but anonymous directory listing stays disabled by default. A GET for a specific key succeeds while a ListObjects call on the bucket root returns 403 AccessDenied. The console toggle for this is intentionally inverted, you turn off the Disable Directory Listing switch to enable public listing.

Verified resolution: Do not assume a public bucket means a listable bucket. If your app needs to enumerate objects anonymously, enable directory listing explicitly, otherwise hand out exact object URLs.

Source URL: https://github.com/tigrisdata/tigris-os-docs/blob/HEAD/docs/buckets/public-bucket.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_yNOLgnI4w5nwqfjP8Mceig" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Tigris public buckets allow anonymous reads but block anonymous listing <span>— Vectle</span></a>