Restrict File Access

Hey fellow Kirby-users,

is it possible to restrict public access to a file (all files of a page)? First step would be to make the public link inaccessible (via rerouting?).

The goal is to give access to specific logged in users that fulfil a condition. Condition: the date associated to the file is in the date interval associated with the user. – Is this possible with Kirby

Cheers, Anton

Yes, both is possible:
Locking access to the page, see here: https://getkirby.com/docs/cookbook/authentication
Securing assets: https://getkirby.com/docs/cookbook/asset-firewall

1 Like