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 · 862 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 Sergi, 2 days ago
1 63 1 day ago
General · by themetman, 4 days ago
2 91 4 days ago
General · by Hanns Mattes, 2 weeks ago
0 147 2 weeks ago
General · by Karmalakas, 2 weeks ago
2 217 2 weeks ago
General · by Hanns Mattes, 4 weeks ago
0 278 4 weeks ago