title: How to disable .env file read?
body: <p>I'm new in laravel and I know the <code>.env</code> file is used to store database and email credentials. But when I'm opening <code>http://servername/.env</code> the <code>.env</code> file content is shown in browser.</p>
  
  <p>Any chance to protect my database credentials without changing the file name to non-guessable one?</p>
  
  <p>In case I'm using <code>.htaccess</code> to prevent file read, would this have negative effect to the laravel framework?</p>