How to serve protected downloads with Rails

24 Nov 2006

Do you have a site where you sell downloads? Perhaps you sell e-books, screencasts, or MP3s. Would you like a way to protect these downloads by using your Rails application to authenticate users before they can download the file, but you don’t want to tie up a Rails process to actually serve the file? Lighttpd’s mod_secdownload was built specifically for this situation, but there’s a little gotcha for those of you who are also using mod_proxy to pass traffic to mongrel…

Read the rest of this entry »


Easy Server Migrations

3 Nov 2006

What if you could complete a server migration with just a few minutes of down-time? What if you didn’t have to wait for DNS changes to propagate to have all of your users use your new server? It’s not only possible, it’s easy! As long as you use mongrel, that is.

Read the rest of this entry »