# S3store robot with custom Aws S3 policies (no list access)

**URL:** <https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976>\
**Category:** Transloadit\
**Tags:** tender-archive\
**Created:** [September 8, 2011, 4:20pm UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976 "2011-09-08T16:20:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![olli.huotari](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/olli.huotari/32/1537_2.png) [@olli.huotari](https://community.transloadit.com/u/olli.huotari)\
**Post date:** [September 8, 2011, 4:20pm UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/1 "2011-09-08T16:20:00Z")

</div>

> Archived from the Transloadit support forum. Originally posted on September 8, 2011; details may be outdated, see [our docs](https://transloadit.com/docs/) for current behavior. [Original thread](https://web.archive.org/web/20111228011120/http://support.transloadit.com/discussions/problems/202-s3store-robot-with-custom-aws-s3-policies-no-list-access)

Related to S3store robot and Amazon S3 policies without list access.

I like to keep policies quite strictly. So I tried to have write only policy for transloadit keys in the IAM (at the end). The policy wont allow listing of files, only write and read. Policy works for uploading from different tools. If I ad in action section “s3:List\*” transloadit works ok.

I guess that Transloadit doesn’t work without rights for listing the files? Is it so?

Is there a possibility to use transloadit with limited access policy. Do I have to fix the policy with some specifics? Do you need the listings for some reason? Or was this just issue with testing template inside transloadit user pages?

The bucket has also some other files so I want to keep sharing as minimal as possible.

Policy in Amazon IAM for keys that transloadit template uses:

```auto
{ "Statement": [
{ "Effect": "Allow", "Action": ["s3:Put*", "s3:Get*"],
  "Resource": "arn:aws:s3:::my.bucket.com*"
} ] }

```

---

<div class="post-metadata">

**Author:** ![Felix\_Geisendorfer](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/felix_geisendorfer/32/1463_2.png) [@Felix\_Geisendorfer](https://community.transloadit.com/u/Felix_Geisendorfer)\
**Post date:** [September 8, 2011, 4:34pm UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/2 "2011-09-08T16:34:00Z")

</div>

> I guess that Transloadit doesn’t work without rights for listing the files? Is it so?

We need the list permission because S3 PUT is broken by design. If we do not verify the success of a storage operation (and retry if there was a problem), we are seeing about 1-2% data loss.

See this post for more details: [http://transloadit.com/blog/2011/05/fixing-amazon-s3](http://transloadit.com/blog/2011/05/fixing-amazon-s3)

We could make our verification optional, but that would mean that you’d be responsible for verifying the success of a storage step - we could no longer do it for you.

---

<div class="post-metadata">

**Author:** ![olli.huotari](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/olli.huotari/32/1537_2.png) [@olli.huotari](https://community.transloadit.com/u/olli.huotari)\
**Post date:** [September 8, 2011, 5:45pm UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/3 "2011-09-08T17:45:00Z")

</div>

Thanks for the quick answer. That sounds reasonable. Optional verification doesn’t seem a good idea (at least without really understanding everything behind it).

Have to figure out whats the strictest policy I can get away with. Probably I’ll limit the resources within some path etc.

Out of curiosity: What do you do with the listing of the bucket? How do you check something with that? Couldn’t you do the same checks by getting head info on the files you uploaded? With that approach policy could allow [“s3:Put\_”, “s3:Get\_”] without allowing listings. Or does amazon then reply with errors instead of reasonable information?

---

<div class="post-metadata">

**Author:** ![Felix\_Geisendorfer](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/felix_geisendorfer/32/1463_2.png) [@Felix\_Geisendorfer](https://community.transloadit.com/u/Felix_Geisendorfer)\
**Post date:** [September 12, 2011, 4:01pm UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/4 "2011-09-12T16:01:00Z")

</div>

> Out of curiosity: What do you do with the listing of the bucket? How do you check something with that? Couldn’t you do the same checks by getting head info on the files you uploaded? With that approach policy could allow [“s3:Put”, “s3:Get”] without allowing listings. Or does amazon then reply with errors instead of reasonable information?

We use list against the exact path of the upload because it works to verify uploads to private and public files alike. We could do a HEAD request for public files, but that would make things a bit complicated on our end, so we are not doing it at this point.

I hope that’s ok for now, but it’s certainly something we’ll look into improving in the future.

---

<div class="post-metadata">

**Author:** ![olli.huotari](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/olli.huotari/32/1537_2.png) [@olli.huotari](https://community.transloadit.com/u/olli.huotari)\
**Post date:** [September 13, 2011, 9:33am UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/5 "2011-09-13T09:33:00Z")

</div>

It’s ok. Nice to know. It Just requires some extra work at our end.

And in case someone else is wondering/googling how to make s3 policies for transloadit. Here is a sample for restricting access to specific files/folder:

```auto
{"Statement": [{ "Effect": "Allow",
  "Action": ["s3:Put*", "s3:Get*"],
  "Resource": "arn:aws:s3:::<bucket_here>/<directory_here>/*" }]}
{"Statement": [{ "Effect": "Allow",
  "Action": "s3:ListBucket",
  "Condition": { "StringLike": { "s3:prefix": "<directory_here>/*"} },
  "Resource": "arn:aws:s3:::<bucket_here>"}]}

```

---

<div class="post-metadata">

**Author:** ![Felix\_Geisendorfer](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/felix_geisendorfer/32/1463_2.png) [@Felix\_Geisendorfer](https://community.transloadit.com/u/Felix_Geisendorfer)\
**Post date:** [September 13, 2011, 9:00pm UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/6 "2011-09-13T21:00:00Z")

</div>

Thanks for referencing your settings!

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [October 25, 2011, 3:25pm UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/7 "2011-10-25T15:25:00Z")

</div>

Closing this as it is resolved.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/04ee57da0cb7ac8728a9ac5965c288164f4ce280.svg) [@system](https://community.transloadit.com/u/system)\
**Post date:** [October 7, 2026, 9:37am UTC](https://community.transloadit.com/t/s3store-robot-with-custom-aws-s3-policies-no-list-access/17976/8 "2026-10-07T09:37:24Z")

</div>

Closed on October 7, 2026, 9:37am UTC


