# Need help developing plugin to customize S3 meta

**URL:** https://meta.discourse.org/t/need-help-developing-plugin-to-customize-s3-meta/54887
**Category:** Development
**Created:** [December 28, 2016, 5:20pm UTC](https://meta.discourse.org/t/need-help-developing-plugin-to-customize-s3-meta/54887 "2016-12-28T17:20:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DanielMarquard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/danielmarquard/32/74010_2.png) [@DanielMarquard](https://meta.discourse.org/u/DanielMarquard)
#### Post date: [December 28, 2016, 5:20pm UTC](https://meta.discourse.org/t/need-help-developing-plugin-to-customize-s3-meta/54887/1 "2016-12-28T17:20:45Z")

</div>

I’m still pretty new to Ruby, and I’ve tried pouring through Discourse plugins on Github for guidance on modifying code in Discourse’s core code, but I’m a little overwhelmed with the complexity. I believe that a plugin to achieve what I’m after would be pretty simple, I just need some direction.

I’m trying to change the meta parameters of files uploaded to S3 from Discourse. Here’s where I’m looking:

> <https://github.com/discourse/discourse/blob/93dfc87b99eaee9e2bb64abf31ad54f8f1384a0b/lib/file_store/s3_store.rb#L34>

In `options`, I simply need to change `acl` to `private`, and add a `cache-control` parameter. If you could help me get this code started, I’d really appreciate it. Seeing it in context, I think I’ll be able to understand how to extend other parts of the code for future plugins I develop.

Thank you!
