Attempted Debugging
Searched GitHub Issues
Describe the Scenario
This is possibly me misunderstanding the feature, or it might be a bug, but I've enabled the following in my .env
STORAGE_TYPE=local_secure
I've verified that all images are being uploaded to storage/uploads (outside the public directory), but yet I can still enter the direct image URL in an incognito tab to view the image. I'd expect that I'd need to be logged in to view the image?
I did find issue #2998, which is the same scenario, apart from I have not set STORAGE_IMAGE_TYPE at all, which if I've read the docs correctly, means that it will use STORAGE_TYPE
Thanks,
Exact BookStack Version
v22.07.3
Log Content
No response
PHP Version
8.1
Hosting Environment
Debian 10, NGINx, PHP 8.1 fpm
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
This is possibly me misunderstanding the feature, or it might be a bug, but I've enabled the following in my .env
STORAGE_TYPE=local_secureI've verified that all images are being uploaded to storage/uploads (outside the public directory), but yet I can still enter the direct image URL in an incognito tab to view the image. I'd expect that I'd need to be logged in to view the image?
I did find issue #2998, which is the same scenario, apart from I have not set STORAGE_IMAGE_TYPE at all, which if I've read the docs correctly, means that it will use STORAGE_TYPE
Thanks,
Exact BookStack Version
v22.07.3
Log Content
No response
PHP Version
8.1
Hosting Environment
Debian 10, NGINx, PHP 8.1 fpm