Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

How to limit access to file

Started by covecove1 9 years ago · 0 replies · 753 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 lynbor, 1 month ago
5 539 5 days ago
General · by Andy Miller, 2 weeks ago
0 227 2 weeks ago
General · by lynbor, 4 weeks ago
7 657 3 weeks ago
General · by Harry, 3 weeks ago
0 233 3 weeks ago
General · by Old Man Umby, 1 month ago
2 367 1 month ago