Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Issue #3

Open
neodite opened this issue Apr 14, 2018 · 2 comments
Open

Security Issue #3

neodite opened this issue Apr 14, 2018 · 2 comments

Comments

@neodite
Copy link

neodite commented Apr 14, 2018

If running this from the "Manual Install" and keeping everything default as in github.

Navigating to http://siteurl.com/.env.production will offer the environment file to be downloaded by the user.

@askotx
Copy link

askotx commented Jun 10, 2019

You could set:

$dotenv = new Dotenv\Dotenv(APPPATH);

to add .env file to application folder

@doelmi
Copy link

doelmi commented Jul 16, 2019

you can use .htaccess

#except .env file
RewriteRule ^(.env) - [F,L,NC]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants