title: Allowing User to Download File from S3 Storage
body: <p>Right now I am using Amazon S3 and Paperclip which is allowing my users to upload an image that is associated with the event they are creating. My ultimate goal is since others can view this event, to be able to click on the image and have it prompt a SAVE TO their computer. As of now, clicking the link will open the image in a browser window. I rather have it ask for them to download instead. All images only saved on S3, not local. Need to hide exposed s3 url as well if possible or camouflage it</p>
  
  <p>Here is my current setup</p>
  
  <p><strong>Index.html</strong></p>
  
  <pre><code>&lt;%= link_to 'Download Creative', event.creative.url, class: "btn btn-info" %&gt;
  </code></pre>
  
  <p><strong>Event.rb</strong></p>
  
  <pre><code>has_attached_file :creative,
                  :styles =&gt; { :thumb =&gt; "150x150", :custcreative =&gt; "250x75" },
                  :path =&gt; ":attachment/:id/:style.:extension",
                  :s3_domain_url =&gt; "******.s3.amazonaws.com",
                  :storage =&gt; :s3,
                  :s3_credentials =&gt; Rails.root.join("config/s3.yml"),
                  :bucket =&gt; '*****',
                  :s3_permissions =&gt; :public_read,
                  :s3_protocol =&gt; "http",
                  :convert_options =&gt; { :all =&gt; "-auto-orient" },
                  :encode =&gt; 'utf8'
  </code></pre>
  
  <p>Hoping someone can help me out.</p>