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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

How to limit access to file

Started by covecove1 8 years ago · 0 replies · 441 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 Jerry Hunt, 4 days ago
2 85 13 hours ago
General · by pamtbaau, 18 hours ago
1 60 17 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 350 5 days ago
General · by Duc , 6 days ago
3 44 5 days ago