title: .htaccess for CodeIgniter
body: <p>My CodeIgniter structure :<br>
      public/<br>
      application/<br>
      system/</p>
  
  <p>I don't want anyone to access <a href="http://exampble.com/public" rel="nofollow">http://exampble.com/public</a>, allow only the application to access the resource. I tries to create the file .htaccess in directory with the content 'Deny from all', so the user can't access this directory. But my application can't access as well.</p>
  
  <p>How can I solve this problem?</p>
  
  <p>Please give me any idea. Thanks.  </p>