<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress Ideas &#187; Topic: Change wp-config.php to different name for security reason</title>
		<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason</link>
		<description>WordPress Ideas &#187; Topic: Change wp-config.php to different name for security reason</description>
		<language>en-US</language>
		<pubDate>Mon, 12 Jun 2017 01:56:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="https://wordpress.org/ideas/rss/topic/change-wp-configphp-to-different-name-for-security-reason" rel="self" type="application/rss+xml" />

		<item>
			<title>Silko on "Change wp-config.php to different name for security reason"</title>
			<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason#post-31204</link>
			<pubDate>Tue, 27 Dec 2016 14:01:16 +0000</pubDate>
			<dc:creator>Silko</dc:creator>
			<guid isPermaLink="false">31204@https://wordpress.org/ideas/</guid>
			<description><![CDATA[<p>Protection your wp-config.php can be easy, please have a look: <a href="https://codex.wordpress.org/Hardening_WordPress#Securing_wp-config.php" rel="nofollow">https://codex.wordpress.org/Hardening_WordPress#Securing_wp-config.php</a>
</p>]]></description>
					</item>
		<item>
			<title>Ipstenu (Mika Epstein) on "Change wp-config.php to different name for security reason"</title>
			<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason#post-31178</link>
			<pubDate>Tue, 20 Dec 2016 01:11:37 +0000</pubDate>
			<dc:creator>Ipstenu (Mika Epstein)</dc:creator>
			<guid isPermaLink="false">31178@https://wordpress.org/ideas/</guid>
			<description><![CDATA[<p><em><strong>DO NOT EDIT CORE FILES</strong></em></p>
<p><em><strong>DO NOT EDIT CORE FILES</strong></em></p>
<p><em><strong>DO NOT EDIT CORE FILES</strong></em></p>
<p><em><strong>DO NOT EDIT CORE FILES</strong></em></p>
<p>Seriously. No. Stop. Don't do it. You are a fool if you do it.
</p>]]></description>
					</item>
		<item>
			<title>nhantam on "Change wp-config.php to different name for security reason"</title>
			<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason#post-31170</link>
			<pubDate>Sat, 17 Dec 2016 09:15:24 +0000</pubDate>
			<dc:creator>nhantam</dc:creator>
			<guid isPermaLink="false">31170@https://wordpress.org/ideas/</guid>
			<description><![CDATA[<p>First: You can rename wp-config.php = config.php<br />
Second: replace all require 'wp-config.php' = require 'configs.php';</p>
<p>Regards
</p>]]></description>
					</item>
		<item>
			<title>adinugroho on "Change wp-config.php to different name for security reason"</title>
			<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason#post-26371</link>
			<pubDate>Sat, 05 Apr 2014 01:49:18 +0000</pubDate>
			<dc:creator>adinugroho</dc:creator>
			<guid isPermaLink="false">26371@https://wordpress.org/ideas/</guid>
			<description><![CDATA[<p>Hi,<br />
Yes we can move the wp-config.php to the home folder but how if we have some subdomain for example /home/x/www/sub1/, /home/x/www/sub2/? we can't put both wp-config.php at /home/x/www/ and also it will overwrite the wp-config.php on main domain.<br />
At least we can one step ahead from the intruder before he found another method. I was check many intruder scripts and it create symlink to CMS configuration from their name, ex: wp-config.php, configuration.php, config.php, etc.<br />
Most of the scripts bruteforce all names and hope they lucky<br />
/home/*/wp-config.php<br />
/home/*/www/wp-config.php<br />
/home/*/www/*/wp-config.php</p>
<p>They can't read it if they not do the symlink first.<br />
If we change the wp-config.php name, they can't read our database name, username and password.
</p>]]></description>
					</item>
		<item>
			<title>Ipstenu (Mika Epstein) on "Change wp-config.php to different name for security reason"</title>
			<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason#post-26370</link>
			<pubDate>Fri, 04 Apr 2014 15:59:40 +0000</pubDate>
			<dc:creator>Ipstenu (Mika Epstein)</dc:creator>
			<guid isPermaLink="false">26370@https://wordpress.org/ideas/</guid>
			<description><![CDATA[<p><em><strong>DO NOT EDIT CORE FILES LIKE THAT</strong></em></p>
<p>NO! Never. 1989danielb please do not suggest that. It's a terrible idea, all your changes will be lost when you upgrade and your site will break.</p>
<p>Okay. Now that we're all <em>NOT</em> editing core....</p>
<p>You can move the wp-config.php file one level up. So if you install WP here:</p>
<p>/home/public_html/index.php (etc)</p>
<p>The config can go in the NON web-accessible folder:</p>
<p>/home/wp-config.php</p>
<p>However. The concept that renaming that file will 'help' is not actually so. First of all, you have to be able to have a 'common' file to tell WP 'this is where I live' and since WP is open source, any reasonable hacker would be able to write a script that checks what your site is calling instead of wp-config.php</p>
<blockquote><p>Sometimes intruder coming to my server and use symlink to read any wp-config.php files in whole server.</p></blockquote>
<p>THIS is bad, horrible, dear god get a new webhost, levels of security holes. A GOOD server does not allow user A to read <em>ANY</em> files from User B. A symlink could be made, but would be unreadable because of permissions.</p>
<p>And still, renaming won't matter if I can run a server side scan for all files with the wp-config 'headers'</p>
<p>Unless of course the intruder gets in with root access, at which point nothing matters at all.
</p>]]></description>
					</item>
		<item>
			<title>1989danielb on "Change wp-config.php to different name for security reason"</title>
			<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason#post-26368</link>
			<pubDate>Fri, 04 Apr 2014 12:34:08 +0000</pubDate>
			<dc:creator>1989danielb</dc:creator>
			<guid isPermaLink="false">26368@https://wordpress.org/ideas/</guid>
			<description><![CDATA[<p>Couldn't you just use a program such as NetBeans to do a search and replace on all instances of wp-config.php within the WordPress directory? I don't think any references to the file are in the database.</p>
<p>As in you change the filename to something like "template-home.php" and then set NetBeans to find and replace any and all instances of wp-config.php to "template-home.php". Then anything pointing to the old config file name will be changed.</p>
<p>Not sure if it works, but it could be a temporary solution while you wait for any changes/plugins :)
</p>]]></description>
					</item>
		<item>
			<title>adinugroho on "Change wp-config.php to different name for security reason"</title>
			<link>https://wordpress.org/ideas/topic/change-wp-configphp-to-different-name-for-security-reason#post-26367</link>
			<pubDate>Fri, 04 Apr 2014 04:45:58 +0000</pubDate>
			<dc:creator>adinugroho</dc:creator>
			<guid isPermaLink="false">26367@https://wordpress.org/ideas/</guid>
			<description><![CDATA[<p>Hi,<br />
I handle hundreds of WordPress site in my server. Sometimes intruder coming to my server and use symlink to read any wp-config.php files in whole server. If we can change the wp-config.php name easily in future, that will increase the WordPress security.
</p>]]></description>
					</item>

	</channel>
</rss>
