On Oct 26, 10:16 am, Pål Bergström <[email protected]>
wrote:
> How could I stop access to a directory from the outside, for example a
> dir with images, and only allow it via the Rails app?

If you don't want your webserver to just serve up the file then don't
put the file inside your document root (ie don't put it in your app's
public folder).

Fred

> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to