One of the requirements of a website i’m building is that assets uploaded by the website’s users are protected from access outside the website whilst still being accessible from within the site. I’m using Paperclip (Rails 3.1) for uploads and there’s a whole load of stuff out there relating to protecting assets stored in pricate AWS S3 buckets. So after a little digging into expiring urls etc. and not really coming up with anything satisfactory, I discovered this post about setting up a bucket policy. Perfect!!
- 2,645 hits
Error: Twitter did not respond. Please wait a few minutes and refresh this page.