WordPress base configuration files on GitHub
61–70 of 90 posts
Re: WordPress base configuration files on GitHub
#62Re: WordPress base configuration files on GitHub
#63Security experts, I have a question: if a database server just allow connections from a white list (trusted IP's), exposing database passwords on a GIT repository is still a problem?
Yes, it's still a problem, because then you have to depend on the whitelist staying valid and never having an admin accidentally turn it off. And you also have to depend on none of the machines on the trusted IPs being compromised either. And you have to depend on many other things not happening as well.
Instead, you want what is called defense in depth--several layers of security so that an attacker needs to breach several defensive layers in order to get access to what they're looking for. Relying on just an IP whitelist as a single layer of defense is not considered to be a good practice.
Re: WordPress base configuration files on GitHub
#64I found this search more interesting than someone pushing their wp-config to a repo; also warning, some are nsfw https://github.com/search?p=100&q=filename%3Atits.jpg+&ref=s...
Re: WordPress base configuration files on GitHub
#65Earlier quoted context omitted.
Don't even store sensitive data in git , it can be a bad idea: http://www.jamiembrown.com/blog/one-in-every-600-websites-ha... Store credentials in environment variables.
How would you go about making a repeatable, automated deployment if you don't store configuration information in source control to load into the environment variables?
Re: WordPress base configuration files on GitHub
#66Security experts, I have a question: if a database server just allow connections from a white list (trusted IP's), exposing database passwords on a GIT repository is still a problem?
Re: WordPress base configuration files on GitHub
#67You do know that you can play the same game with other languages as well? https://github.com/search?utf8=%E2%9C%93&q=filename%3Asettin... I feel like people don't accept the fact that people do stupid stuff in other languages.
I think you're being oversensitive about PHP. Wordpress, and by extension, its predictably-named settings file, is an easy search-target because it's very popular among novice/new developers.
I'm just tired of seeing the same search on github for PHP config files.
> its predictably-named settings file
So does every other popular application and framework on the planet. This isn't something specific to wordpress - we can play this game all day with different applications, frameworks, and languages.
https://github.com/search?q=mysql+user&type=Code&utf8=%E2%9C...
Re: WordPress base configuration files on GitHub
#68Regards
Re: WordPress base configuration files on GitHub
#69[0]: https://www.google.co.in/search?q=inurl%3Afilezilla+inurl%3A...