<?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[Should we switch to STORAGE_TYPE=local_secure in .env?]]></title><description><![CDATA[<p dir="auto">The default configuration of BookStack does not secure uploads. If attackers knows the exact URL, they are able to download the file without authentication. That's the default in Cloudrons .env configuration.<br />
With <code>STORAGE_TYPE=local_secure</code> in the <code>.env</code> file every upload goes to <code>storage/uploads/images</code>.<br />
A migration to this new behavior is possible, but it cost lifetime. More info about the security settings -&gt; <a href="http://bookstackapp.com/docs/admin/security/#securing-images" target="_blank" rel="noopener noreferrer nofollow ugc">bookstackapp.com/docs/admin/security/#securing-images</a></p>
<p dir="auto">What is your opinion on this topic?</p>
]]></description><link>https://forum.cloudron.io/topic/5078/should-we-switch-to-storage_type-local_secure-in-env</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 12:06:55 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5078.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 May 2021 10:27:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Should we switch to STORAGE_TYPE=local_secure in .env? on Mon, 17 May 2021 13:13:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> I think the feature is still "experimental" per the docs - <code>This solution is currently still in testing you could experience performance issues</code>.</p>
<p dir="auto">The second solution listed in the section suggests enabling "Enable higher security image uploads". I can confirm that option works. Since, we enable .htaccess in the apache configs, directory indexes are disabled as well.</p>
<p dir="auto">I think if people still want local_secure, they can always fix up env as required but there's probably a reason that the upstream does not use this as the default.</p>
]]></description><link>https://forum.cloudron.io/post/31439</link><guid isPermaLink="true">https://forum.cloudron.io/post/31439</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 17 May 2021 13:13:09 GMT</pubDate></item></channel></rss>