Protect files (media)

I have some pages on a site protected for specific user roles (https://github.com/kerli81/kirby-securedpages).

But files on those pages are still open for all (if you have the url).

How can I protect these files?

Thanks for advise!

1 Like

That should be possible with the file::version and file::url components.