title: Deny access to .svn folders on Apache
body: <p>We have a rails application in subversion that we deploy with Capistrano but have noticed that we can access the files in '/.svn', which presents a security concern. </p>
  
  <p>I wanted to know what the best way to do this.  A few ideas:</p>
  
  <ul>
  <li>Global Apache configuration to deny access </li>
  <li>Adding .htaccess files in the public folder and all subfolders</li>
  <li>Cap task that changes the permissions</li>
  </ul>
  
  <p>I don't really like the idea of deleting the folders or using svn export, since I would like to keep the 'svn info' around.</p>