Disable file uploads #1571

Closed
opened 2026-02-05 01:17:57 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @timeandtimeago on GitHub (Mar 5, 2020).

Describe the feature you'd like
Given the restrictions on managing files - it would be nice to be able to disable file uploads all together.
We host our bookstack deployment on Kubernetes and run it in a stateless setup.
The s3 options would be attractive - but does not provide sufficient security for the uploaded files.

We would rather require attachments and images to be separately hosted on our own CDN and simply disable the ability to upload attachments or images to bookstack all together.

Is this possible?
If not - how large an effort would it be to add the option to disable file and image uploads?

Originally created by @timeandtimeago on GitHub (Mar 5, 2020). **Describe the feature you'd like** Given the restrictions on managing files - it would be nice to be able to disable file uploads all together. We host our bookstack deployment on Kubernetes and run it in a stateless setup. The s3 options would be attractive - but does not provide sufficient security for the uploaded files. We would rather require attachments and images to be separately hosted on our own CDN and simply disable the ability to upload attachments or images to bookstack all together. Is this possible? If not - how large an effort would it be to add the option to disable file and image uploads?
OVERLORD added the 🔨 Feature Request label 2026-02-05 01:17:57 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Sep 10, 2025):

Sorry for the slightly late response @timeandtimeago 😅

It is not possible to flat-out disable file uploads.
The closes option would be to remove all image/attachment permissions from all user roles, and then maybe use some CSS hackery to hide user/book/app/shelf image upload inputs to prevent those features being used.

Since I've seen no other desire for disabling file uploads in general I'm going to go ahead and close this off.

@ssddanbrown commented on GitHub (Sep 10, 2025): Sorry for the slightly late response @timeandtimeago 😅 It is not possible to flat-out disable file uploads. The closes option would be to remove all image/attachment permissions from all user roles, and then maybe use some CSS hackery to hide user/book/app/shelf image upload inputs to prevent those features being used. Since I've seen no other desire for disabling file uploads in general I'm going to go ahead and close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1571