ruby on rails, restricting access to public directory

Posted by hpist on Stack Overflow See other posts from Stack Overflow or by hpist
Published on 2010-06-07T21:46:29Z Indexed on 2010/06/07 21:52 UTC
Read the original article Hit count: 139

Filed under:

I need to prevent access to public directory with .htaccess kind of mechanism. It means that hitting http://localhost:3000 should ask for credentials before it shows anything else. Is it possible?

© Stack Overflow or respective owner

Related posts about ruby-on-rails