I know this question has been asked regarding prior Kirby versions, but all the linked cookbook entries are offline and I’m not sure whether Bastian’s asset firewall (How to build an asset firewall) is still up to date.
The project I’m working on has a restricted member’s only section which I’ve used Kirby’s really convenient authentication features for. However, this only protects pages, while everyone can still directly access any files. I would like files located in a folder (page) with restricted access also to only be available to eligible authenticated users.
Is there a newer (or even built-in) way to achieve this, or is Bastian’s custom route still the way to go in Kirby 3? And if so, I’m assuming there are some minor changes like having to protect the new media folder?
Thanks a bunch! : )