title: ruby on rails, restricting access to public directory
body: <p>I need to prevent access to public directory with .htaccess kind of mechanism. It means that hitting  <a href="http://localhost:3000" rel="nofollow noreferrer">http://localhost:3000</a> should ask for credentials before it shows anything else. Is it possible?</p>