Should we switch to STORAGE_TYPE=local_secure in .env?
-
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.
WithSTORAGE_TYPE=local_securein the.envfile every upload goes tostorage/uploads/images.
A migration to this new behavior is possible, but it cost lifetime. More info about the security settings -> bookstackapp.com/docs/admin/security/#securing-imagesWhat is your opinion on this topic?
-
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.
WithSTORAGE_TYPE=local_securein the.envfile every upload goes tostorage/uploads/images.
A migration to this new behavior is possible, but it cost lifetime. More info about the security settings -> bookstackapp.com/docs/admin/security/#securing-imagesWhat is your opinion on this topic?
@luckow I think the feature is still "experimental" per the docs -
This solution is currently still in testing you could experience performance issues.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.
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login