<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Security improvement: Add an an empty index.php file to &#x2F;wp-content&#x2F;, &#x2F;wp-content&#x2F;plugins&#x2F;, &#x2F;wp-content&#x2F;themes&#x2F; and &#x2F;wp-content&#x2F;uploads&#x2F; directories on installing]]></title><description><![CDATA[<p dir="auto">Can you add an empty <code>index.php</code> file to <code>/wp-content/</code>, <code>/wp-content/plugins/</code>, <code>/wp-content/themes/</code> and <code>/wp-content/uploads/</code> directories on installation, please?</p>
<p dir="auto">This then prevents scanners from listing the contents of these directories.</p>
<p dir="auto">I can't think of any downsides to this, either for initial setups, or in addition to existing setups.</p>
]]></description><link>https://forum.cloudron.io/topic/9388/security-improvement-add-an-an-empty-index-php-file-to-wp-content-wp-content-plugins-wp-content-themes-and-wp-content-uploads-directories-on-installing</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 14:11:11 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9388.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Jun 2023 14:09:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Security improvement: Add an an empty index.php file to &#x2F;wp-content&#x2F;, &#x2F;wp-content&#x2F;plugins&#x2F;, &#x2F;wp-content&#x2F;themes&#x2F; and &#x2F;wp-content&#x2F;uploads&#x2F; directories on installing on Mon, 12 Jun 2023 12:32:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/brutalbirdie" aria-label="Profile: BrutalBirdie">@<bdi>BrutalBirdie</bdi></a> You're right, directory browsing is blocked at the server level. I just spotted these missing files and thought a simple no-harm way to cover the same for all instances.</p>
]]></description><link>https://forum.cloudron.io/post/68116</link><guid isPermaLink="true">https://forum.cloudron.io/post/68116</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Mon, 12 Jun 2023 12:32:28 GMT</pubDate></item><item><title><![CDATA[Reply to Security improvement: Add an an empty index.php file to &#x2F;wp-content&#x2F;, &#x2F;wp-content&#x2F;plugins&#x2F;, &#x2F;wp-content&#x2F;themes&#x2F; and &#x2F;wp-content&#x2F;uploads&#x2F; directories on installing on Sun, 11 Jun 2023 19:19:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marcusquinn" aria-label="Profile: marcusquinn">@<bdi>marcusquinn</bdi></a> Oh, file indexing should not be possible by default.<br />
That would be an oversight and not intended.</p>
<p dir="auto">I just installed a fresh wp-dev and there is an <code>index.php</code> in <code>/wp-content/</code> <code>plugins</code> and <code>themes</code>.<br />
<code>uploads</code> is missing an <code>index.php</code>.<br />
But also the <code>uploads</code> folder is giving me a 403 forbidden.</p>
<p dir="auto"><img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=d69db52af35" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /> can you check if your wp-dev is fresh or historical?</p>
]]></description><link>https://forum.cloudron.io/post/68087</link><guid isPermaLink="true">https://forum.cloudron.io/post/68087</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sun, 11 Jun 2023 19:19:23 GMT</pubDate></item></channel></rss>