Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

brammittendorff/CraftCms-Restricted-Assets-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

RestrictedAssets Plugin For Craft CMS

To use this plugin just make a link like below:

<a href="actions/RestrictedAssets/download/{{ asset.id }}">{{asset.title}}</a>

And it will check if the user is logged in or not, only then he or she can download the file.

and remember to create a .htaccess file in your source folder with the following line:

deny from all

About

CraftCms Restricted Assets Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages