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

Prevent leaking password by committing config.php #3

Open
hholzgra opened this issue Jun 5, 2018 · 0 comments
Open

Prevent leaking password by committing config.php #3

hholzgra opened this issue Jun 5, 2018 · 0 comments

Comments

@hholzgra
Copy link
Contributor

hholzgra commented Jun 5, 2018

As config.php is tracked by git it is easy to accidentially commit a version of the file that has actual login credentials in it.

This is typically prevented by:

  • having a config.php.dist file in the repository that provides a template
  • preventing upload of actual config.php by adding it to .gitignore
  • instructing users to copy config.php.dist to config.php, then add private information in there
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

1 participant