Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

How to limit access to file

Started by covecove1 8 years ago · 0 replies · 552 views
8 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 Andy Miller, 2 days ago
0 70 2 days ago
General · by Veehem, 3 days ago
0 111 3 days ago
General · by milkboy, 4 days ago
0 113 4 days ago
General · by ian russell, 2 weeks ago
2 205 1 week ago
General · by pamtbaau, 1 month ago
2 462 2 weeks ago