So, you’re using attachment_fu to handle user file uploads in your rails app, right? If you’re also using Nginx for your web server, here’s a quick and dirty way to do controlled file access in less than 10 lines of code.
Read the rest of this entry »
Leave a Comment » | Ruby on Rails | Tagged: code, nginx, Ruby on Rails | Permalink
Posted by Eric Hedberg
Create a free website or blog at WordPress.com.