search for: mod_secdownload

Displaying 10 results from an estimated 10 matches for "mod_secdownload".

2006 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails app (which isn''t under very heavy load) kept eating memory and bringing our server to our knees. Eventually I traced it to send_file (which was in a way a relief as it wasn''t down to my coding ;) -- every time a user started downloading, the memory consumed by the app would jump, and
2006 Jan 10
3
Serving lots of images to only registred users
Hello guys, I am building a photo website and I have some questions before I really start programming the site. My system will be Debian + lighttpd + mysql +fastcgi + ImageMagick I plan to use file_column for image handling/verification and thumbnail creation. My question is; I need to store images in a place outside of webroot so only registered members can see them. To serve them secure
2006 Apr 11
7
Offering downloads only to registered users
I''m writing an app for a blood exam center, where people can go and check the results without going physically there. The customers log in the system and a pdf download is offered to them. The downloads though will not be stored in the db but in the filesystem. How can I allow people to download files only if they''re authorised? I obviously can''t store all the files in
2006 Mar 20
16
Secret URLs and file downloads
I''m looking to do something similar to the "secret URLs" in Rails Recipes, however, with file downloads. I want to avoid providing direct URLs to people if possible. I have files on disk in public/, so it would be good if each user got a "unique" URL to each file that they are permitted to see (dealt with by a user_id/file_id table). Then they are only allowed
2006 Jun 13
2
securing a file
Hi, I want to allow the downloading of specific file only to authorized user, lets say an MPEG. where do I start? ;-) Thx, Dor. -- Posted via http://www.ruby-forum.com/.
2006 Apr 20
3
How to restrict access to images by user?
Hi, I have a some image files that belongs to some users. Only the owner of an image should be able to see it. How can I do that? I don''t think I can use send_data, because I want the image to be displayed on a "rendered" page. I don''t think I can place the images in the public folder, because if some user can figure out the name of the image then he''ll be
2007 Jun 21
1
x-sendfile horrendously slow?
I''m using Camping (though I suspect this applies to RoR just as well, and if you have an RoR specific answer I''d be happy to hear it, I may switch) to do a number of things for an internal application, one of which is transferring large files (~2GB each) between machines over the network. I thought the easy route would just be to make an app that when given the filename, serves
2006 May 26
2
Plugin Question
I got some advice from Rick last night and started coding this handler to allow for time-based secure downloading similar to mod_secdownload that lighttpd offers. I got most of the code in the handler worked out and packaged into a gem but am still having the following problems: 1) I have a configuration script as follows require ''mongrel'' config = Mongrel::Configurator.new :host => "127.0.0.1" do...
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t been able to find an answer to. Do I need to have either scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to work? If yes, why? I have installed the scgi server and i can get the service to run, i have also installed the following mod_fastcgi/2.4.2 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through the hassle of setting up a Rails production environment on Win32 system since we mostly use MS SQL as our database back end and also because we mostly dealing with customers who become green-blue-purple as soon as you mention Unix/Linux and run for the door. I also need to mention that most of our web applications are internal and