search for: unique_hash

Displaying 1 result from an estimated 1 matches for "unique_hash".

2006 Oct 15
1
mongrel_send_file gem plugin
...mongrel_send_file/README == mongrel_send_file GemPlugin This is a simple plugin to handle the sending of secure files from a rails app. Here''s the typical process: - Rails app authorizes user to download file - Rails app sets file info in the session, redirects to custom URL like /file/UNIQUE_HASH/filename - Mongrel handler pulls the full filename path and content type from the session using the unique hash, sends it to the user == Usage After installing the gem, you''ll need to setup the handler for your Rails app: # config/mongrel_send_file.conf uri "/file/", :handler...