if you are asking about how to restrict access to a file -in your case MP3 file- i just made a solution couple monthes ago with PHP that you may re implement create a table with fields ( path , token) for every request of a file create a token for it with that path in that table create a controller that get the token as parameter and download the file when user access the url through that controller you'll delete the record make the controller show 404 if the token wasn't in the table you can add a column for user id in case the file is available for multiple user
that's how you'll get a single use URL :) please till me if there is any hole in my logic ---- Emad Elsaid a.k.a. (Blaze Boy) Websites Designer/Developer Mobile: +20 14 13 7 16 75 http://blazeeboy.blogspot.com On Fri, Sep 30, 2011 at 10:26 PM, Garrett S. <[email protected]> wrote: > I think I like what you're saying, but the only problem I have with it > is controlling access to the paperclip url. This may mean I just don't > understand how the paperclip urls work. But I'm also trying to ensure > that only the user who uploaded it, can access it. I wasn't sure if I > would be able to control this once a url for an audio file was exposed. > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

