Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

How to limit access to file

Started by covecove1 9 years ago · 0 replies · 848 views
9 years ago

Hello,

I have URL "/Downloads" which uses Blog template
inside of it there are Blog items
Items have uploaded .pdfs inside and referenced in the markdown.
How can I block direct URL access to the files? I Blocked access to the item if user is not logged in by "access: login: true" but file is still reachable via URL.

Thanks!

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 39 16 hours ago
General · by Hanns Mattes, 1 week ago
0 119 1 week ago
General · by Karmalakas, 1 week ago
2 184 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 234 3 weeks ago
General · by Dima, 4 weeks ago
1 210 4 weeks ago