Nara Simha
2008-Oct-21 09:09 UTC
Secure static html pages with Mongrel cluster on apache in
I have security issue with Apache and mongrel cluster and Ruby on Rails. My Application is in ruby on rails and deployed using apache and mongrel cluster. I am able to secure the .rhtml files using filters. I have few static html files, which I placed, in one of the sub folders of Public folder. I am giving link from my .rhtml files to static .html file. I want to access the static html only If the user login to my application and browse the static html files. I want to restrict the user access when the user tries to access the static html directly by typing the URL So how can I secure my static html pages in ROR with Mongrel cluster on Windows with Apache Server? Please provide your valuable suggestions. Thanks in advance. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrew Porter
2008-Oct-21 10:05 UTC
Re: Secure static html pages with Mongrel cluster on apache in
Nara Simha wrote:> > I want to restrict the user access when the user tries to access the > static html directly by typing the URLThe way I do this is serve the files from rails using send_file. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---