title: Which correct permissions must have folders and files for website?
body: <p>Which correct permissions must have folders and files for website? Also I need for <code>example.com/public/images</code> return forbidden but images inside it must be shown. And how can I do it automatically.</p>
  <pre><code>public (folder) 
     images (folder) (example.com/images/) must return 403
        image-1.png (file) (example.com/images/image-1.png ) user can view 
        image-2.png (file) (example.com/images/image-2.png ) user can view 
     css (folder) (example.com/css/) must return 403
        bootstrap (folder) (example.com/css/bootstrap) must return 403
           bootstrap.css (file) (example.com/css/bootstrap/bootstrap.css) user can view
        custom.css (file)
     js (folder)
        bootstrap (folder)
           bootstrap.js (file)
        custom.js (file)
     assets (folder)
         ckeditor (folder)
            adapters (folder)
               jquery.js (file)
     index.php (file)
     .htaccess (file)
  </code></pre>